mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-19 22:30:05 +01:00
BugFix Drop file on Mixing view
This commit is contained in:
@@ -653,7 +653,7 @@ View::Cursor MixingView::over (glm::vec2 pos)
|
|||||||
//
|
//
|
||||||
// Source *s = Mixer::manager().findSource(pick.first);
|
// Source *s = Mixer::manager().findSource(pick.first);
|
||||||
Source *s = Mixer::manager().currentSource();
|
Source *s = Mixer::manager().currentSource();
|
||||||
if (s != nullptr) {
|
if (s != nullptr && s->ready()) {
|
||||||
|
|
||||||
s->symbol_->color = glm::vec4( COLOR_HIGHLIGHT_SOURCE, 1.f );
|
s->symbol_->color = glm::vec4( COLOR_HIGHLIGHT_SOURCE, 1.f );
|
||||||
s->initial_0_->color = glm::vec4( COLOR_HIGHLIGHT_SOURCE, 1.f );
|
s->initial_0_->color = glm::vec4( COLOR_HIGHLIGHT_SOURCE, 1.f );
|
||||||
|
|||||||
Reference in New Issue
Block a user