Commit b032996d authored by w4t's avatar w4t

imgui 1.66 fix

parent f4b94d91
Pipeline #68 canceled with stages
...@@ -143,7 +143,7 @@ bool ofxImGui::BeginTree(ofAbstractParameter& parameter, Settings& settings) ...@@ -143,7 +143,7 @@ bool ofxImGui::BeginTree(ofAbstractParameter& parameter, Settings& settings)
bool ofxImGui::BeginTree(const std::string& name, Settings& settings) bool ofxImGui::BeginTree(const std::string& name, Settings& settings)
{ {
bool result; bool result;
ImGui::SetNextTreeNodeOpen(true, ImGuiSetCond_Appearing); ImGui::SetNextTreeNodeOpen(true, ImGuiCond_Appearing);
if (settings.treeLevel == 0) if (settings.treeLevel == 0)
{ {
result = ImGui::TreeNodeEx(GetUniqueName(name), ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoAutoOpenOnLog); result = ImGui::TreeNodeEx(GetUniqueName(name), ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoAutoOpenOnLog);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment