浏览代码

[sceneEditor] Fix double drops

Clément Espeute 2 月之前
父节点
当前提交
bf4a3b8e57
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      hide/comp/SceneEditor.hx

+ 1 - 0
hide/comp/SceneEditor.hx

@@ -1127,6 +1127,7 @@ class SceneEditor {
 				@:privateAccess scene.canvas.focus();
 				onDragDrop(files, true, e);
 				e.preventDefault();
+				e.stopPropagation();
 				return;
 			}
 		}