the whole view is now composed from a single root widget

This commit is contained in:
zadam
2020-02-06 21:16:02 +01:00
parent 8d49249ed7
commit 92f6558e55
5 changed files with 98 additions and 120 deletions

View File

@@ -47,8 +47,6 @@ export default class SidePaneToggles extends BasicWidget {
this.$widget.find(".show-left-pane-button").on('click', () => this.toggleAndSave('left', true));
this.$widget.find(".hide-left-pane-button").on('click', () => this.toggleAndSave('left', false));
splitService.setupSplit(this.paneVisible.left, this.paneVisible.right);
return this.$widget;
}
@@ -69,4 +67,8 @@ export default class SidePaneToggles extends BasicWidget {
this.trigger('sidebarVisibilityChanged', {side, show});
}
initialRenderCompleteListener() {
splitService.setupSplit(this.paneVisible.left, this.paneVisible.right);
}
}