mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 00:42:24 +00:00
GUI: Remove highlighting when button widget is pressed
Without this, buttons would stay highlighted after being un-pressed. Fixes #7094.
This commit is contained in:
parent
25c380f92e
commit
92b7a86e1f
@ -356,6 +356,7 @@ void ButtonWidget::handleTickle() {
|
||||
void ButtonWidget::setPressedState() {
|
||||
wantTickle(true);
|
||||
setFlags(WIDGET_PRESSED);
|
||||
clearFlags(WIDGET_HILITED);
|
||||
draw();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user