Browse Source

Fixed non-popup child windows not honoring the HiddenFrames flag (can't see a reason). Docking relies on this.

omar 7 years ago
parent
commit
4b1240b2e1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      imgui.cpp

+ 1 - 1
imgui.cpp

@@ -2867,7 +2867,7 @@ static void AddWindowToRenderList(ImVector<ImDrawList*>& out_render_list, ImGuiW
         ImGuiWindow* child = window->DC.ChildWindows[i];
         ImGuiWindow* child = window->DC.ChildWindows[i];
         if (!child->Active) // clipped children may have been marked not active
         if (!child->Active) // clipped children may have been marked not active
             continue;
             continue;
-        if ((child->Flags & ImGuiWindowFlags_Popup) && child->HiddenFrames > 0)
+        if (child->HiddenFrames > 0)
             continue;
             continue;
         AddWindowToRenderList(out_render_list, child);
         AddWindowToRenderList(out_render_list, child);
     }
     }