From 1615a629e8eaceb4c5d504a0b17bc04769233fd5 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Tue, 24 May 2022 18:17:47 +1000 Subject: Upon expand-to-view, remove ancestor other-descendants from layout tree --- src/App.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/App.vue') 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}); -- cgit v1.2.3