Merge pull request #217 from Pagghiu/bugfix

Example fix PopStyleVar on Vertical Slider to avoid assertion
This commit is contained in:
omar 2015-05-11 14:12:23 +01:00
commit cd2ec7868c

View File

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