From 9467a0700afd62c60f5ef437e4648e33949332ce Mon Sep 17 00:00:00 2001 From: Bruno Herbelin Date: Sun, 23 Apr 2023 23:15:31 +0200 Subject: [PATCH] BugFix Drop file on Mixing view --- src/MixingView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MixingView.cpp b/src/MixingView.cpp index 1eebbfe..41374a1 100644 --- a/src/MixingView.cpp +++ b/src/MixingView.cpp @@ -653,7 +653,7 @@ View::Cursor MixingView::over (glm::vec2 pos) // // Source *s = Mixer::manager().findSource(pick.first); Source *s = Mixer::manager().currentSource(); - if (s != nullptr) { + if (s != nullptr && s->ready()) { s->symbol_->color = glm::vec4( COLOR_HIGHLIGHT_SOURCE, 1.f ); s->initial_0_->color = glm::vec4( COLOR_HIGHLIGHT_SOURCE, 1.f );