mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
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
1 changed files with 0 additions and 1 deletions
|
|
@ -1096,7 +1096,6 @@ ArdourButton::set_active_state (Gtkmm2ext::ActiveState s)
|
||||||
bool changed = (_active_state != s);
|
bool changed = (_active_state != s);
|
||||||
CairoWidget::set_active_state (s);
|
CairoWidget::set_active_state (s);
|
||||||
if (changed) {
|
if (changed) {
|
||||||
_update_colors = true;
|
|
||||||
CairoWidget::set_dirty ();
|
CairoWidget::set_dirty ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue