[studio] Fix NewMenu name input
This commit is contained in:
parent
e4ae23e114
commit
941bc71348
@ -77,7 +77,7 @@ void NewMenu::drawNewItemName(studio::StudioContext &sctx) noexcept {
|
|||||||
drawWindow(sctx.tctx, &m_open, [this, &sctx] {
|
drawWindow(sctx.tctx, &m_open, [this, &sctx] {
|
||||||
auto const typeIdx = static_cast<std::size_t>(m_selectedType);
|
auto const typeIdx = static_cast<std::size_t>(m_selectedType);
|
||||||
if (typeIdx < m_types.size()) {
|
if (typeIdx < m_types.size()) {
|
||||||
ImGui::InputText("Name", m_itemName.data(), m_itemName.cap());
|
ig::InputText("Name", m_itemName);
|
||||||
}
|
}
|
||||||
drawLastPageButtons(sctx);
|
drawLastPageButtons(sctx);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user