Skip to content

Commit

Permalink
Fix bug from refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
fallaciousreasoning committed Dec 20, 2022
1 parent 98ac17a commit ab088d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chromium_src/ui/views/controls/button/md_text_button.cc
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ MdTextButton::ButtonColors MdTextButton::GetButtonColors() {

// The enabled style is the normal button style with more opacity.
if (!GetEnabled() || state == STATE_DISABLED) {
state = ButtonState::STATE_DISABLED;
state = ButtonState::STATE_NORMAL;
opacity = kDisabledOpacity;
}

Expand Down

0 comments on commit ab088d8

Please sign in to comment.