Properly show document bar on initialization (#535)

* properly show document bar

* updated comments
This commit is contained in:
mfish33
2022-02-11 11:32:10 -08:00
committed by Keavon Chambers
parent e22030ffb2
commit 6ff7c22d1d
4 changed files with 12 additions and 1 deletions

View File

@@ -427,6 +427,10 @@ export default defineComponent({
this.documentBarLayout = updateDocumentBarLayout;
});
this.editor.dispatcher.subscribeJsMessage(TriggerViewportResize, this.viewportResize);
// TODO(mfish33): Replace with initialization system Issue:#524
// Get initial Document Bar
this.editor.instance.init_document_bar();
},
data() {
const documentModeEntries: SectionsOfMenuListEntries = [