Sfoglia il codice sorgente

make sure to reset propagate=false if currentDrag is propogating the event

Nicolas Cannasse 1 anno fa
parent
commit
27c55c80f5
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      hxd/SceneEvents.hx

+ 1 - 0
hxd/SceneEvents.hx

@@ -360,6 +360,7 @@ class SceneEvents {
 					e.relY = oy;
 					if( !e.propagate )
 						continue;
+					e.propagate = false;
 				}
 
 				emitEvent(e);