mirror of
https://github.com/Drezil/imgui.git
synced 2025-03-26 14:02:44 +00:00
Example fix PopStyleVar on Vertical Slider to avoid assertion
Adding an explicit ImGui::PopStyleVar to avoid assertion in CheckStacksSize
This commit is contained in:
parent
4a41ce9414
commit
99a1a85f1f
@ -10345,6 +10345,7 @@ void ImGui::ShowTestWindow(bool* opened)
|
||||
ImGui::PopID();
|
||||
}
|
||||
ImGui::PopID();
|
||||
ImGui::PopStyleVar();
|
||||
|
||||
ImGui::Indent();
|
||||
ImGui::TreePop();
|
||||
|
Loading…
x
Reference in New Issue
Block a user