mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
Fix bug #2791868: "GUI: Glitch when closing menu after hovering on option"
svn-id: r40702
This commit is contained in:
parent
d66365f376
commit
eb92554db9
@ -100,13 +100,13 @@ void Dialog::open() {
|
||||
|
||||
void Dialog::close() {
|
||||
_visible = false;
|
||||
g_gui.closeTopDialog();
|
||||
|
||||
if (_mouseWidget) {
|
||||
_mouseWidget->handleMouseLeft(0);
|
||||
_mouseWidget = 0;
|
||||
}
|
||||
releaseFocus();
|
||||
g_gui.closeTopDialog();
|
||||
}
|
||||
|
||||
void Dialog::reflowLayout() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user