summaryrefslogtreecommitdiff
path: root/libs/widgets
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-09-01 16:52:24 +0200
committerRobin Gareus <robin@gareus.org>2019-09-01 16:52:24 +0200
commit46bbe834009d51a652e03a7fd4fa57bfb6457e38 (patch)
treecd5aeb1fba00e8dd820757391bcd296ad4a79264 /libs/widgets
parent244df678005f6415b4fd0aa219396759927f7e3e (diff)
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.
Diffstat (limited to 'libs/widgets')
-rw-r--r--libs/widgets/ardour_button.cc1
1 files changed, 0 insertions, 1 deletions
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 ();
}
}