From fc3658e420a0b2b1a7738080d9f22fda32b87de4 Mon Sep 17 00:00:00 2001 From: Evan Pezent Date: Wed, 26 Aug 2020 10:33:31 -0500 Subject: [PATCH] setnextwindowpos fix --- implot_demo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/implot_demo.cpp b/implot_demo.cpp index 5892c1e..fcc9b37 100644 --- a/implot_demo.cpp +++ b/implot_demo.cpp @@ -145,8 +145,8 @@ void ShowDemoWindow(bool* p_open) { ImGui::End(); } if (show_implot_benchmark) { + ImGui::SetNextWindowSize(ImVec2(530,740), ImGuiCond_Appearing); ImGui::Begin("ImPlot Benchmark Tool", &show_implot_benchmark); - ImGui::SetNextWindowSize(ImVec2(530,690), ImGuiCond_Appearing); ImPlot::ShowBenchmarkTool(); ImGui::End(); return;