aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-07-12 02:24:07 +1000
committerTerry Truong <terry06890@gmail.com>2022-07-12 02:24:07 +1000
commit6071e0b9d097e94a303662d28b8f46d2122037c4 (patch)
treead58817b5abde67b826df202574816e4edccd6df /src
parent9c5abe160cf11c9d28794e454d41cba5cb6cd637 (diff)
Fix off-center layout after jumping without sidebar
Diffstat (limited to 'src')
-rw-r--r--src/App.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue
index b0901d1..49beea4 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -580,6 +580,7 @@ export default defineComponent({
// Hide ancestors
LayoutNode.hideUpward(targetNode!.parent!, this.layoutMap);
this.activeRoot = targetNode!.parent!;
+ this.updateAreaDims();
await this.onNonleafClick(this.activeRoot, true);
await this.onLeafClick(this.activeRoot, true);
} else {