[Edit] Refresh Library less aggressively

Update the root object (used to populate the Library pane)
less often, to avoid recreating the whole tree and thereby
causing the tree to collapse. WTD-788.
This commit is contained in:
Victor Woeltjen
2015-02-26 16:53:15 -08:00
parent 970b5e70ba
commit 988716ff01
3 changed files with 58 additions and 3 deletions

View File

@@ -18,10 +18,13 @@
</div>
<div class="splitter"></div>
<div class='abs pane right edit-objects menus-to-left'>
<div class='holder abs split-layout horizontal'>
<div class='holder abs split-layout horizontal'
ng-controller='EditPanesController as editPanes'>
<div class="abs pane top accordion" ng-controller="ToggleController as toggle">
<mct-container key="accordion" title="Library">
<mct-representation key="'tree'" alias="foo1" mct-object="context.getRoot()">
<mct-representation key="'tree'"
alias="foo1"
mct-object="editPanes.getRoot()">
</mct-representation>
</mct-container>
</div>