From 870fe055cfcc6c3a9a84c6aa51596a4b534b03cb Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 3 Jul 2018 18:33:11 -0400 Subject: make use-note-color-for-velocity much much more efficient (by not invoking the global color change signal) --- gtk2_ardour/editor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/editor.cc') diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index ef5068a5ed..fe904dcb4d 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -6170,7 +6170,7 @@ Editor::ui_parameter_changed (string parameter) ArdourCanvas::Note::set_show_velocity_bars (UIConfiguration::instance().get_use_note_bars_for_velocity()); _track_canvas->request_redraw (_track_canvas->visible_area()); } else if (parameter == "use-note-color-for-velocity") { - UIConfiguration::instance().ColorsChanged(); /* EMIT SIGNAL */ + /* handled individually by each MidiRegionView */ } } -- cgit v1.2.3