Skip to content

Commit

Permalink
Button: don't pule filled "borders"
Browse files Browse the repository at this point in the history
we use theres for a "disabled" overlay when the button still needs to be functional (spellbook icons etc)

issue #47
  • Loading branch information
bradallred committed Oct 25, 2017
1 parent 0ed1c1b commit 53d3c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gemrb/core/GUI/Button.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ void Button::OnMouseEnter(const MouseEvent& me, const DragOp* dop)
for (int i = 0; i < MAX_NUM_BORDERS; i++) {
ButtonBorder *fr = &borders[i];
if (fr->enabled) {
pulseBorder = true;
pulseBorder = !fr->filled;
MarkDirty();
break;
}
Expand Down

0 comments on commit 53d3c60

Please sign in to comment.