fix issues in gui::Window
This commit is contained in:
@@ -32,7 +32,7 @@ class Window {
|
||||
}
|
||||
if (!shown_) return false;
|
||||
|
||||
before();
|
||||
if (before) before();
|
||||
need_end_ = true;
|
||||
return ImGui::Begin(id().c_str(), &shown_);
|
||||
}
|
||||
|
Reference in New Issue
Block a user