Browse Source

Fixed node list in the editor sometimes scrolling to wrong position after deleting nodes/components.

Lasse Öörni 13 years ago
parent
commit
d38bf9f95f
1 changed files with 0 additions and 3 deletions
  1. 0 3
      Bin/Data/Scripts/Editor/EditorScene.as

+ 0 - 3
Bin/Data/Scripts/Editor/EditorScene.as

@@ -333,7 +333,6 @@ bool SceneDelete()
 
 
     BeginSelectionModify();
     BeginSelectionModify();
     ListView@ list = sceneWindow.GetChild("NodeList", true);
     ListView@ list = sceneWindow.GetChild("NodeList", true);
-    list.contentElement.DisableLayoutUpdate();
 
 
     // Remove nodes
     // Remove nodes
     for (uint i = 0; i < selectedNodes.length; ++i)
     for (uint i = 0; i < selectedNodes.length; ++i)
@@ -386,8 +385,6 @@ bool SceneDelete()
             list.selection = index;
             list.selection = index;
     }
     }
 
 
-    list.contentElement.EnableLayoutUpdate();
-    list.contentElement.UpdateLayout();
     EndSelectionModify();
     EndSelectionModify();
     return true;
     return true;
 }
 }