Delay user notification for when source is ready

This commit is contained in:
Bruno Herbelin
2023-05-30 15:03:32 +02:00
parent 90207c6184
commit 8bc69ba0a4
2 changed files with 31 additions and 8 deletions

View File

@@ -656,13 +656,12 @@ View::Cursor MixingView::over (glm::vec2 pos)
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 );
s->initial_1_->color = glm::vec4( COLOR_HIGHLIGHT_SOURCE, 1.f );
const ImVec4 h = ImGuiToolkit::HighlightColor();
// overlay symbol
if ( pick.first == s->symbol_ )
s->symbol_->color = glm::vec4( h.x, h.y, h.z, 1.f );
}
return ret;