From 686db99d5beb6409f280361507ac8d4826f69e2f Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Fri, 6 Sep 2024 21:56:30 -0500 Subject: [PATCH] [nostalgia/core/studio] Disable Palette page hotkeys when Rename popup is open --- .../core/src/studio/paletteeditor/paletteeditor-imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nostalgia/modules/core/src/studio/paletteeditor/paletteeditor-imgui.cpp b/src/nostalgia/modules/core/src/studio/paletteeditor/paletteeditor-imgui.cpp index 7a4882a6..f197f1c1 100644 --- a/src/nostalgia/modules/core/src/studio/paletteeditor/paletteeditor-imgui.cpp +++ b/src/nostalgia/modules/core/src/studio/paletteeditor/paletteeditor-imgui.cpp @@ -49,7 +49,7 @@ PaletteEditorImGui::PaletteEditorImGui(studio::StudioContext &sctx, ox::StringPa } void PaletteEditorImGui::keyStateChanged(turbine::Key key, bool down) { - if (!down) { + if (!down || m_pageRename.isOpen()) { return; } if (key >= turbine::Key::Num_1 && key <= turbine::Key::Num_9) {