Selaa lähdekoodia

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

Nicolas Cannasse 1 vuosi sitten
vanhempi
commit
27c55c80f5
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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);