1
0
mirror of synced 2024-09-24 11:38:26 +02:00

fix: Style var not being popped correctly

This commit is contained in:
WerWolv 2023-12-11 22:09:13 +01:00
parent ce27cb11a5
commit 17a7621342

View File

@ -552,6 +552,8 @@ namespace hex {
ImGui::GetWindowPos() + sidebarPos + ImGui::GetWindowSize() - ImVec2(dockSpaceSize.x + 1_scaled, footerHeight - ImGui::GetStyle().FramePadding.y - 1_scaled + menuBarHeight),
ImGui::GetColorU32(ImGuiCol_Separator));
}
} else {
ImGui::PopStyleVar();
}
ImGui::End();
ImGui::PopStyleVar(2);