Skip to content

Commit

Permalink
gui2/button: Fix highlight colour for the disabled state
Browse files Browse the repository at this point in the history
It was apparently copy-pasted from the pressed state. This resulted in
disabled buttons looking like they are pressed.

[ci skip]
  • Loading branch information
irydacea committed Jul 27, 2020
1 parent 350462a commit fa08ff2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Expand Up @@ -535,6 +535,7 @@
### User interface
* Do not list nameless abilities in the Abilities and Ability Upgrades lists in unit
descriptions in Help (issue #3060).
* Fixed disabled buttons using the pressed highlight color.
### Miscellaneous and bug fixes
* Made wmllint recognize [remove_time_area] in order to avoid spurious warnings about
unit ids.
Expand Down
2 changes: 1 addition & 1 deletion data/gui/widget/button_default.cfg
Expand Up @@ -111,7 +111,7 @@
{_GUI_STATE "background"
({GUI__FONT_COLOR_DISABLED__DEFAULT ALPHA={ALPHA}})
("89, 89, 89, {ALPHA}")
("1, 10, 16, 255") "~GS(){IPF}"}
("60, 60, 60, 255") "~GS(){IPF}"}

{GUI__CENTERED_TEXT ({FONT_SIZE}) () ({GUI__FONT_COLOR_DISABLED__TITLE})}

Expand Down

0 comments on commit fa08ff2

Please sign in to comment.