Fixed random crashing issue

This commit is contained in:
2026-01-02 03:42:43 -05:00
parent 95b441c4cf
commit a8143b6d0c
7 changed files with 9 additions and 6 deletions
+1 -3
View File
@@ -898,14 +898,11 @@ namespace anm2ed::imgui
ImGui::EndPopup();
}
ImGui::End();
manager.progressPopup.trigger();
if (ImGui::BeginPopupModal(manager.progressPopup.label(), &manager.progressPopup.isOpen, ImGuiWindowFlags_NoResize))
{
if (!animation) return;
auto& start = manager.recordingStart;
auto& end = manager.recordingEnd;
auto progress = (playback.time - start) / (end - start);
@@ -946,5 +943,6 @@ namespace anm2ed::imgui
}
settings.previewStartZoom = zoom;
ImGui::End();
}
}