Merge commit '7e20f7200963cd0b22f84cc46e10db12b6c13806'

This commit is contained in:
Gary Talent 2025-01-19 19:04:24 -06:00
commit 240effd305

View File

@ -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)) {