diff --git a/src/quest_editor/gui/QuestEditorView.ts b/src/quest_editor/gui/QuestEditorView.ts index 98e194b8..b28bffbd 100644 --- a/src/quest_editor/gui/QuestEditorView.ts +++ b/src/quest_editor/gui/QuestEditorView.ts @@ -55,7 +55,6 @@ export class QuestEditorView extends ResizableView { private readonly layout_element = div({ className: "quest_editor_gl_container" }); private readonly layout: Promise; - private loaded_layout: GoldenLayout | undefined; private readonly sub_views = new Map(); @@ -145,8 +144,6 @@ export class QuestEditorView extends ResizableView { this.layout = this.init_golden_layout(); - this.layout.then(layout => (this.loaded_layout = layout)); - this.disposables( gui_store.on_global_keydown( GuiTool.QuestEditor,