Removed texture inset and fix closing document bug

This commit is contained in:
2025-12-16 01:52:06 -05:00
parent ffed82a591
commit ed2f92d412
3 changed files with 7 additions and 12 deletions

View File

@@ -122,7 +122,6 @@ namespace anm2ed::imgui
closePopup.trigger();
bool isClosePopupOpenPrevious = closePopup.isOpen;
if (ImGui::BeginPopupModal(closePopup.label(), &closePopup.isOpen, ImGuiWindowFlags_NoResize))
{
if (closeDocumentIndex >= 0 && closeDocumentIndex < (int)manager.documents.size())
@@ -172,8 +171,6 @@ namespace anm2ed::imgui
ImGui::EndPopup();
}
if ((isClosePopupOpenPrevious != closePopup.isOpen) && isQuitting) isQuitting = false;
}
ImGui::End();