fix issues in gui::Window

This commit is contained in:
2022-06-04 12:27:47 +09:00
parent b7240037d1
commit 50b84e9b65

View File

@@ -32,7 +32,7 @@ class Window {
}
if (!shown_) return false;
before();
if (before) before();
need_end_ = true;
return ImGui::Begin(id().c_str(), &shown_);
}