mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-25 00:56:35 +00:00
Fix
This commit is contained in:
parent
ebe363c951
commit
d369e6b333
@ -3467,14 +3467,14 @@ static void SetWindowCollapsed(ImGuiWindow* window, bool collapsed, ImGuiSetCond
|
|||||||
void ImGui::SetWindowCollapsed(bool collapsed, ImGuiSetCondition cond)
|
void ImGui::SetWindowCollapsed(bool collapsed, ImGuiSetCondition cond)
|
||||||
{
|
{
|
||||||
ImGuiWindow* window = GetCurrentWindow();
|
ImGuiWindow* window = GetCurrentWindow();
|
||||||
SetWindowCollapsed(window);
|
SetWindowCollapsed(window, collapsed, cond);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ImGui::SetWindowCollapsed(const char* name, bool collapsed, ImGuiSetCondition cond)
|
void ImGui::SetWindowCollapsed(const char* name, bool collapsed, ImGuiSetCondition cond)
|
||||||
{
|
{
|
||||||
ImGuiWindow* window = FindWindowByName(name);
|
ImGuiWindow* window = FindWindowByName(name);
|
||||||
if (window)
|
if (window)
|
||||||
SetWindowCollapsed(window);
|
SetWindowCollapsed(window, collapsed, cond);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ImGui::SetWindowFocus()
|
void ImGui::SetWindowFocus()
|
||||||
|
Loading…
Reference in New Issue
Block a user