aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorAndrei Prykhodko2018-07-22 20:12:37 +0300
committerAndrei Prykhodko2018-07-22 20:12:37 +0300
commit71e933e7787e2be450ef8955e7f3289376ddce21 (patch)
treea506c771a5cda60d4c54ad82ffac4cd94bea8bb6 /graphics
parentcd90a9c13d132162ca6f6ec5a54cc7b2f6f0cde9 (diff)
downloadscummvm-rg350-71e933e7787e2be450ef8955e7f3289376ddce21.tar.gz
scummvm-rg350-71e933e7787e2be450ef8955e7f3289376ddce21.tar.bz2
scummvm-rg350-71e933e7787e2be450ef8955e7f3289376ddce21.zip
GRAPHICS: MACGUI: fixed engine unpausing after releasing mouse
Diffstat (limited to 'graphics')
-rw-r--r--graphics/macgui/macmenu.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/macgui/macmenu.cpp b/graphics/macgui/macmenu.cpp
index 804590f03e..6d0f0fede2 100644
--- a/graphics/macgui/macmenu.cpp
+++ b/graphics/macgui/macmenu.cpp
@@ -654,6 +654,11 @@ bool MacMenu::mouseMove(int x, int y) {
bool MacMenu::mouseRelease(int x, int y) {
if (_menuActivated) {
_menuActivated = false;
+ _isVisible = false;
+
+ if (_wm->_mode & kWMModalMenuMode) {
+ _wm->pauseEngine(false);
+ }
if (_activeItem != -1 && _activeSubItem != -1 && _items[_activeItem]->subitems[_activeSubItem]->enabled) {
if (_items[_activeItem]->subitems[_activeSubItem]->unicode) {