Fixed random crashing issue

This commit is contained in:
shweet committed 2026-01-02 03:42:43 -05:00
1 parent 95b441c4cf
commit a8143b6d0c
7 files changed
+9 -6

No files matched your search

+1
View File
@@ -14,6 +14,7 @@ namespace anm2ed::imgui
auto viewport = ImGui::GetMainViewport();
auto windowHeight = viewport->Size.y - taskbar.height - documents.height;
if (windowHeight < 1.0f) windowHeight = 1.0f;
ImGui::SetNextWindowViewport(viewport->ID);
ImGui::SetNextWindowPos(ImVec2(viewport->Pos.x, viewport->Pos.y + taskbar.height + documents.height));