aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui
diff options
context:
space:
mode:
authorCameron Cawley2019-08-10 13:08:15 +0100
committerCameron Cawley2019-08-10 13:08:15 +0100
commit1632fba91e672c2e3ee2bbc15cfcccd1c0fe3533 (patch)
treea197fd72ab938f18a3f4db67a28b1c80ba6a5a2b /graphics/macgui
parent31187e6595b8298f6735b88e73cf0c7f4bdf614b (diff)
downloadscummvm-rg350-1632fba91e672c2e3ee2bbc15cfcccd1c0fe3533.tar.gz
scummvm-rg350-1632fba91e672c2e3ee2bbc15cfcccd1c0fe3533.tar.bz2
scummvm-rg350-1632fba91e672c2e3ee2bbc15cfcccd1c0fe3533.zip
GRAPHICS: MACGUI: Don't hide the menu bar if kWMModeAutohideMenu is not enabled
Diffstat (limited to 'graphics/macgui')
-rw-r--r--graphics/macgui/macmenu.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/macgui/macmenu.cpp b/graphics/macgui/macmenu.cpp
index 131ee6fd09..97ad2a6d98 100644
--- a/graphics/macgui/macmenu.cpp
+++ b/graphics/macgui/macmenu.cpp
@@ -682,7 +682,8 @@ bool MacMenu::mouseMove(int x, int y) {
bool MacMenu::mouseRelease(int x, int y) {
if (_menuActivated) {
_menuActivated = false;
- _isVisible = false;
+ if (_wm->_mode & kWMModeAutohideMenu)
+ _isVisible = false;
if (_wm->_mode & kWMModalMenuMode) {
_wm->pauseEngine(false);