[studio] Fix NewMenu name input

This commit is contained in:
Gary Talent 2024-10-28 20:56:02 -05:00
parent e4ae23e114
commit 941bc71348

View File

@ -77,7 +77,7 @@ void NewMenu::drawNewItemName(studio::StudioContext &sctx) noexcept {
drawWindow(sctx.tctx, &m_open, [this, &sctx] {
auto const typeIdx = static_cast<std::size_t>(m_selectedType);
if (typeIdx < m_types.size()) {
ImGui::InputText("Name", m_itemName.data(), m_itemName.cap());
ig::InputText("Name", m_itemName);
}
drawLastPageButtons(sctx);
});