[nostalgia/core/studio] Fix Palette Color Name input to properly take focus
All checks were successful
Build / build (push) Successful in 2m34s
All checks were successful
Build / build (push) Successful in 2m34s
This commit is contained in:
parent
c711f4358e
commit
b90ab27a65
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user