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.
This commit is contained in:
parent
244df67800
commit
46bbe83400
@ -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 ();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user