mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
GRAPHICS: MACGUI: fix the bug when closing the menu, the highlight part was not correctly set
This commit is contained in:
parent
5d2a73fe01
commit
1d3cf51b7b
@ -1177,6 +1177,11 @@ void MacMenu::closeMenu() {
|
||||
if (_wm->_mode & kWMModalMenuMode) {
|
||||
_wm->disableScreenCopy();
|
||||
}
|
||||
|
||||
for (uint i = 0; i < _menustack.size(); i++) {
|
||||
_menustack[i]->highlight = -1;
|
||||
}
|
||||
|
||||
_activeItem = -1;
|
||||
_activeSubItem = -1;
|
||||
_menustack.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user