From 2ee05f95ec12fdef21de0f2712cc05240b67dc76 Mon Sep 17 00:00:00 2001 From: Daan Vanden Bosch Date: Thu, 16 Jul 2020 16:15:24 +0200 Subject: [PATCH] Removed unnecessary code. --- src/quest_editor/gui/QuestEditorView.ts | 3 --- 1 file changed, 3 deletions(-) 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,