[nostalgia/core/studio] Disable Palette page hotkeys when Rename popup is open
All checks were successful
Build / build (push) Successful in 2m30s

This commit is contained in:
Gary Talent 2024-09-06 21:56:30 -05:00
parent 52533c8c44
commit 686db99d5b

View File

@ -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) {