[nostalgia/core/studio/tilesheeteditor] Replace Palette combobox with a readonly text input
All checks were successful
Build / build (push) Successful in 3m21s
All checks were successful
Build / build (push) Successful in 3m21s
This commit is contained in:
parent
0146d38405
commit
6bc629e02c
@ -437,7 +437,7 @@ void TileSheetEditorImGui::drawTileSheet(ox::Vec2 const&fbSize) noexcept {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void TileSheetEditorImGui::drawPaletteMenu() noexcept {
|
void TileSheetEditorImGui::drawPaletteMenu() noexcept {
|
||||||
auto const comboWidthSub = 62;
|
auto constexpr comboWidthSub = 62;
|
||||||
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x - comboWidthSub);
|
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x - comboWidthSub);
|
||||||
auto constexpr palTags = ImGuiInputTextFlags_ReadOnly;
|
auto constexpr palTags = ImGuiInputTextFlags_ReadOnly;
|
||||||
if (ig::InputText("Palette", m_selectedPalette, palTags)) {
|
if (ig::InputText("Palette", m_selectedPalette, palTags)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user