Bläddra i källkod

Fixed merge issues (harmless). Amend fe1cee0. (#8786)

ocornut 1 månad sedan
förälder
incheckning
08620b7ceb
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      imgui.cpp

+ 1 - 1
imgui.cpp

@@ -13196,7 +13196,7 @@ bool ImGui::IsWindowFocused(ImGuiFocusedFlags flags)
     if (flags & ImGuiFocusedFlags_RootWindow)
         cur_window = GetCombinedRootWindow(cur_window, popup_hierarchy, dock_hierarchy);
 
-    if (flags & ImGuiHoveredFlags_ChildWindows)
+    if (flags & ImGuiFocusedFlags_ChildWindows)
         return IsWindowChildOf(ref_window, cur_window, popup_hierarchy, dock_hierarchy);
     else
         return (ref_window == cur_window);