Skip to content

Commit

Permalink
Don't auto-collapse collapsible windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Elie Zananiri committed Sep 28, 2020
1 parent 1b916ef commit 330e142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ImHelpers.cpp
Expand Up @@ -74,7 +74,7 @@ bool ofxImGui::BeginWindow(const std::string& name, Settings& settings, bool col

ImGui::SetNextWindowPos(settings.windowPos, settings.lockPosition? ImGuiCond_Always : ImGuiCond_Appearing);
ImGui::SetNextWindowSize(settings.windowSize, ImGuiCond_Appearing);
ImGui::SetNextWindowCollapsed(collapse, ImGuiCond_Appearing);
//ImGui::SetNextWindowCollapsed(collapse, ImGuiCond_Appearing);
return ImGui::Begin(name.c_str(), open, ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_AlwaysAutoResize | (collapse ? 0 : ImGuiWindowFlags_NoCollapse));
}

Expand Down

0 comments on commit 330e142

Please sign in to comment.