[Scummvm-git-logs] scummvm master -> 1632fba91e672c2e3ee2bbc15cfcccd1c0fe3533
ccawley2011
ccawley2011 at gmail.com
Sat Aug 10 14:08:59 CEST 2019
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
1632fba91e GRAPHICS: MACGUI: Don't hide the menu bar if kWMModeAutohideMenu is not enabled
Commit: 1632fba91e672c2e3ee2bbc15cfcccd1c0fe3533
https://github.com/scummvm/scummvm/commit/1632fba91e672c2e3ee2bbc15cfcccd1c0fe3533
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2019-08-10T13:08:15+01:00
Commit Message:
GRAPHICS: MACGUI: Don't hide the menu bar if kWMModeAutohideMenu is not enabled
Changed paths:
graphics/macgui/macmenu.cpp
diff --git a/graphics/macgui/macmenu.cpp b/graphics/macgui/macmenu.cpp
index 131ee6f..97ad2a6 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);
More information about the Scummvm-git-logs
mailing list