diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-07-12 02:24:07 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-07-12 02:24:07 +1000 |
| commit | 6071e0b9d097e94a303662d28b8f46d2122037c4 (patch) | |
| tree | ad58817b5abde67b826df202574816e4edccd6df /src | |
| parent | 9c5abe160cf11c9d28794e454d41cba5cb6cd637 (diff) | |
Fix off-center layout after jumping without sidebar
Diffstat (limited to 'src')
| -rw-r--r-- | src/App.vue | 1 |
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 { |
