From 6071e0b9d097e94a303662d28b8f46d2122037c4 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Tue, 12 Jul 2022 02:24:07 +1000
Subject: Fix off-center layout after jumping without sidebar

---
 src/App.vue | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/App.vue')

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 {
-- 
cgit v1.2.3

