瀏覽代碼

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

Nicolas Cannasse 1 年之前
父節點
當前提交
27c55c80f5
共有 1 個文件被更改,包括 1 次插入0 次删除
  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);