Ver Fonte

skip all events if drag event not canceled

Nicolas Cannasse há 8 anos atrás
pai
commit
59a93539ca
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      hxd/SceneEvents.hx

+ 1 - 1
hxd/SceneEvents.hx

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