Browse Source

skip all events if drag event not canceled

Nicolas Cannasse 8 years ago
parent
commit
59a93539ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hxd/SceneEvents.hx

+ 1 - 1
hxd/SceneEvents.hx

@@ -249,7 +249,7 @@ class SceneEvents {
 					currentDrag.f(e);
 					currentDrag.f(e);
 					e.relX = ox;
 					e.relX = ox;
 					e.relY = oy;
 					e.relY = oy;
-					if( e.cancel )
+					if( !e.cancel )
 						continue;
 						continue;
 				}
 				}