From c542984c65e8fc69fc023b30950117498a797fa6 Mon Sep 17 00:00:00 2001 From: scawful Date: Sat, 13 Jul 2024 15:36:06 -0400 Subject: [PATCH] add assembly editor code tab --- src/app/editor/master_editor.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/app/editor/master_editor.cc b/src/app/editor/master_editor.cc index b55c8e9b..92ba88dd 100644 --- a/src/app/editor/master_editor.cc +++ b/src/app/editor/master_editor.cc @@ -13,9 +13,9 @@ #include "app/core/common.h" #include "app/core/constants.h" #include "app/core/platform/file_dialog.h" +#include "app/editor/code/assembly_editor.h" #include "app/editor/dungeon_editor.h" #include "app/editor/graphics_editor.h" -#include "app/editor/code/assembly_editor.h" #include "app/editor/modules/music_editor.h" #include "app/editor/modules/palette_editor.h" #include "app/editor/overworld_editor.h" @@ -215,9 +215,10 @@ absl::Status MasterEditor::Update() { ImGui::EndTabItem(); } - // if (ImGui::TabItemButton("+", kDungeonTabFlags)) { - - // } + if (ImGui::BeginTabItem("Code")) { + assembly_editor_.UpdateCodeView(); + ImGui::EndTabItem(); + } END_TAB_BAR()