[nostalgia/core/studio] Fix Palette Color Name input to properly take focus
All checks were successful
Build / build (push) Successful in 2m34s

This commit is contained in:
Gary Talent 2024-09-28 21:51:28 -05:00
parent c711f4358e
commit b90ab27a65

View File

@ -244,8 +244,8 @@ void PaletteEditorImGui::drawColorEditor() noexcept {
ox::IString<50> name; ox::IString<50> name;
name = currentName; name = currentName;
ImGui::InputText("Name", name.data(), name.cap() + 1); ImGui::InputText("Name", name.data(), name.cap() + 1);
bool inputFocused = ImGui::IsItemFocused();
ImGui::Separator(); ImGui::Separator();
bool inputFocused = false;
colorInput("Red", r, inputFocused); colorInput("Red", r, inputFocused);
colorInput("Green", g, inputFocused); colorInput("Green", g, inputFocused);
colorInput("Blue", b, inputFocused); colorInput("Blue", b, inputFocused);