From ed60ef40b030c4991a5d368ad174161b36482bae Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 25 Sep 2023 18:52:32 +0200 Subject: [PATCH] Fix arrangement rectangle prelight This follows the general rule to lighten a widget on hover (like ArdourButton, Triggermaster etc) --- gtk2_ardour/editor_canvas_events.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_canvas_events.cc b/gtk2_ardour/editor_canvas_events.cc index af94a43136..b6129af5e9 100644 --- a/gtk2_ardour/editor_canvas_events.cc +++ b/gtk2_ardour/editor_canvas_events.cc @@ -1133,7 +1133,7 @@ Editor::section_rect_event (GdkEvent* ev, Location* loc, ArdourCanvas::Rectangle switch (ev->type) { case GDK_ENTER_NOTIFY: if (UIConfiguration::instance ().get_widget_prelight ()) { - rect->set_fill_color (UIConfiguration::instance().color_mod (color, "marker bar")); + rect->set_fill_color (Gtkmm2ext::HSV (UIConfiguration::instance().color (color)).lighter (0.25)); return true; } break;