Example fix PopStyleVar on Vertical Slider to avoid assertion

Adding an explicit ImGui::PopStyleVar to avoid assertion in
CheckStacksSize
This commit is contained in:
Stefano Cristiano 2015-05-11 14:45:49 +02:00
parent 4a41ce9414
commit 99a1a85f1f
1 changed files with 1 additions and 0 deletions

View File

@ -10345,6 +10345,7 @@ void ImGui::ShowTestWindow(bool* opened)
ImGui::PopID();
}
ImGui::PopID();
ImGui::PopStyleVar();
ImGui::Indent();
ImGui::TreePop();