[Scummvm-git-logs] scummvm master -> 0a130d8dcf39cff30d39cad8a4b7e6fd00394af8

dreammaster dreammaster at scummvm.org
Wed Sep 7 04:59:24 CEST 2016


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:
0a130d8dcf SHERLOCK: RT: Fix hang on dragging mouse outside Inventory verbs list


Commit: 0a130d8dcf39cff30d39cad8a4b7e6fd00394af8
    https://github.com/scummvm/scummvm/commit/0a130d8dcf39cff30d39cad8a4b7e6fd00394af8
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-09-06T22:59:16-04:00

Commit Message:
SHERLOCK: RT: Fix hang on dragging mouse outside Inventory verbs list

Changed paths:
    engines/sherlock/tattoo/widget_inventory.cpp



diff --git a/engines/sherlock/tattoo/widget_inventory.cpp b/engines/sherlock/tattoo/widget_inventory.cpp
index c0b3180..5e72386 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) {





More information about the Scummvm-git-logs mailing list