13
0

Fix arrangement rectangle prelight

This follows the general rule to lighten a widget on hover
(like ArdourButton, Triggermaster etc)
This commit is contained in:
Robin Gareus 2023-09-25 18:52:32 +02:00
parent 5082dc62a4
commit ed60ef40b0
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1133,7 +1133,7 @@ Editor::section_rect_event (GdkEvent* ev, Location* loc, ArdourCanvas::Rectangle
switch (ev->type) { switch (ev->type) {
case GDK_ENTER_NOTIFY: case GDK_ENTER_NOTIFY:
if (UIConfiguration::instance ().get_widget_prelight ()) { 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; return true;
} }
break; break;