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 01193908..f39fb950 100644 --- a/src/nostalgia/modules/core/src/studio/paletteeditor/paletteeditor-imgui.cpp +++ b/src/nostalgia/modules/core/src/studio/paletteeditor/paletteeditor-imgui.cpp @@ -244,8 +244,8 @@ void PaletteEditorImGui::drawColorEditor() noexcept { ox::IString<50> name; name = currentName; ImGui::InputText("Name", name.data(), name.cap() + 1); + bool inputFocused = ImGui::IsItemFocused(); ImGui::Separator(); - bool inputFocused = false; colorInput("Red", r, inputFocused); colorInput("Green", g, inputFocused); colorInput("Blue", b, inputFocused);