From 46bbe834009d51a652e03a7fd4fa57bfb6457e38 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 1 Sep 2019 16:52:24 +0200 Subject: [PATCH] Changing active-state needs no color lookup Colors and patterns are cached, independent of active-state. This didn't used to be the case in the distant ArdourButton past. --- libs/widgets/ardour_button.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/widgets/ardour_button.cc b/libs/widgets/ardour_button.cc index c8316ad925..2ccded83c0 100644 --- a/libs/widgets/ardour_button.cc +++ b/libs/widgets/ardour_button.cc @@ -1096,7 +1096,6 @@ ArdourButton::set_active_state (Gtkmm2ext::ActiveState s) bool changed = (_active_state != s); CairoWidget::set_active_state (s); if (changed) { - _update_colors = true; CairoWidget::set_dirty (); } }