소스 검색

Merge pull request #217 from Pagghiu/bugfix

Example fix PopStyleVar on Vertical Slider to avoid assertion
omar 10 년 전
부모
커밋
cd2ec7868c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      imgui.cpp

+ 1 - 0
imgui.cpp

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