Kaynağa Gözat

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

Nicolas Cannasse 1 yıl önce
ebeveyn
işleme
27c55c80f5
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      hxd/SceneEvents.hx

+ 1 - 0
hxd/SceneEvents.hx

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