Преглед на файлове

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();