fix comment-button highlight
This commit is contained in:
parent
557031ca11
commit
b5a134d73a
@ -1491,20 +1491,20 @@ MixerStrip::setup_comment_button ()
|
||||
|
||||
case Wide:
|
||||
if (_route->comment().empty ()) {
|
||||
_comment_button.unset_bg (STATE_NORMAL);
|
||||
_comment_button.set_name ("generic button");
|
||||
_comment_button.set_text (_("Comments"));
|
||||
} else {
|
||||
_comment_button.modify_bg (STATE_NORMAL, color ());
|
||||
_comment_button.set_name ("comment button");
|
||||
_comment_button.set_text (_("*Comments*"));
|
||||
}
|
||||
break;
|
||||
|
||||
case Narrow:
|
||||
if (_route->comment().empty ()) {
|
||||
_comment_button.unset_bg (STATE_NORMAL);
|
||||
_comment_button.set_name ("generic button");
|
||||
_comment_button.set_text (_("Cmt"));
|
||||
} else {
|
||||
_comment_button.modify_bg (STATE_NORMAL, color ());
|
||||
_comment_button.set_name ("comment button");
|
||||
_comment_button.set_text (_("*Cmt*"));
|
||||
}
|
||||
break;
|
||||
|
@ -139,6 +139,7 @@
|
||||
<ColorAlias name="clock: cursor" alias="color 8"/>
|
||||
<ColorAlias name="clock: edited text" alias="color 8"/>
|
||||
<ColorAlias name="clock: text" alias="color 12"/>
|
||||
<ColorAlias name="comment button: fill" alias="color 20"/>
|
||||
<ColorAlias name="control point fill" alias="color 17"/>
|
||||
<ColorAlias name="control point outline" alias="meter color3"/>
|
||||
<ColorAlias name="control point selected fill" alias="color 72"/>
|
||||
|
Loading…
Reference in New Issue
Block a user