diff options
author | Paul Gilbert | 2016-09-06 22:59:16 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-09-06 22:59:16 -0400 |
commit | 0a130d8dcf39cff30d39cad8a4b7e6fd00394af8 (patch) | |
tree | aad1eced9313e319aa78d9463a9c0cfc83d0954d /engines/sherlock/tattoo | |
parent | a646936fb18ba757e8c86b192c3995e808990845 (diff) | |
download | scummvm-rg350-0a130d8dcf39cff30d39cad8a4b7e6fd00394af8.tar.gz scummvm-rg350-0a130d8dcf39cff30d39cad8a4b7e6fd00394af8.tar.bz2 scummvm-rg350-0a130d8dcf39cff30d39cad8a4b7e6fd00394af8.zip |
SHERLOCK: RT: Fix hang on dragging mouse outside Inventory verbs list
Diffstat (limited to 'engines/sherlock/tattoo')
-rw-r--r-- | engines/sherlock/tattoo/widget_inventory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/tattoo/widget_inventory.cpp b/engines/sherlock/tattoo/widget_inventory.cpp index c0b3180a51..5e7238680a 100644 --- a/engines/sherlock/tattoo/widget_inventory.cpp +++ b/engines/sherlock/tattoo/widget_inventory.cpp @@ -376,8 +376,8 @@ void WidgetInventoryVerbs::handleEvents() { Common::Rect innerBounds = _bounds; innerBounds.grow(-3); - // Flag is they started pressing outside of the menu - if (events._firstPress && !innerBounds.contains(mousePos)) + // Flag is they are pressing outside of the menu + if (!innerBounds.contains(mousePos)) _outsideMenu = true; if (events._released || events._rightReleased || ui._keyState.keycode == Common::KEYCODE_ESCAPE) { |