瀏覽代碼

Merge remote-tracking branch 'monkeyfirst/type-m-layer-editor-fix'

Lasse Öörni 10 年之前
父節點
當前提交
f234eb7919
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      bin/Data/Scripts/Editor/EditorScene.as

+ 4 - 1
bin/Data/Scripts/Editor/EditorScene.as

@@ -522,7 +522,10 @@ bool ToggleSceneUpdate()
 
 bool ShowLayerMover()
 {
-  return ShowLayerEditor();
+  if(ui.focusElement is null) 
+    return ShowLayerEditor();
+  else
+    return false;
 }
 
 void SetSceneModified()