From 6bc629e02c60e86739f0f3da3a0f3e15855637ce Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 19 Jan 2025 13:31:11 -0600 Subject: [PATCH] [nostalgia/core/studio/tilesheeteditor] Replace Palette combobox with a readonly text input --- .../core/src/studio/tilesheeteditor/tilesheeteditor-imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nostalgia/modules/core/src/studio/tilesheeteditor/tilesheeteditor-imgui.cpp b/src/nostalgia/modules/core/src/studio/tilesheeteditor/tilesheeteditor-imgui.cpp index c9f9f6c1..4d5c4f7f 100644 --- a/src/nostalgia/modules/core/src/studio/tilesheeteditor/tilesheeteditor-imgui.cpp +++ b/src/nostalgia/modules/core/src/studio/tilesheeteditor/tilesheeteditor-imgui.cpp @@ -437,7 +437,7 @@ void TileSheetEditorImGui::drawTileSheet(ox::Vec2 const&fbSize) noexcept { } void TileSheetEditorImGui::drawPaletteMenu() noexcept { - auto const comboWidthSub = 62; + auto constexpr comboWidthSub = 62; ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x - comboWidthSub); auto constexpr palTags = ImGuiInputTextFlags_ReadOnly; if (ig::InputText("Palette", m_selectedPalette, palTags)) {