소스 검색

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);