diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-05-24 18:17:47 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-05-24 18:17:47 +1000 |
| commit | 1615a629e8eaceb4c5d504a0b17bc04769233fd5 (patch) | |
| tree | d02551a429fdbed40edf8b61bfc4296063f35807 /src/App.vue | |
| parent | fa8111c3881a0e37ef203f2e0ceb9b85748bb27d (diff) | |
Upon expand-to-view, remove ancestor other-descendants from layout tree
Diffstat (limited to 'src/App.vue')
| -rw-r--r-- | src/App.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/App.vue b/src/App.vue index c8149e9..da99068 100644 --- a/src/App.vue +++ b/src/App.vue @@ -299,7 +299,7 @@ export default defineComponent({ } // Function for expanding tile let doExpansion = () => { - LayoutNode.hideUpward(layoutNode); + LayoutNode.hideUpward(layoutNode, this.layoutMap); this.activeRoot = layoutNode; this.overflownRoot = false; let lytFnOpts = { @@ -350,7 +350,7 @@ export default defineComponent({ console.log('Ignored expand-to-view on active-root node'); return; } - LayoutNode.hideUpward(layoutNode); + LayoutNode.hideUpward(layoutNode, this.layoutMap); this.activeRoot = layoutNode; tryLayout(this.activeRoot, this.tileAreaPos, this.tileAreaDims, this.lytOpts, {allowCollapse: true, layoutMap: this.layoutMap}); |
