File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5115,7 +5115,7 @@ bool ImGui::IsWindowHovered(ImGuiHoveredFlags flags)
5115
5115
if (!IsWindowContentHoverable (g.HoveredRootWindow , flags))
5116
5116
return false ;
5117
5117
if (!(flags & ImGuiHoveredFlags_AllowWhenBlockedByActiveItem))
5118
- if (g.ActiveId != 0 && g. ActiveIdWindow != g. CurrentWindow )
5118
+ if (g.ActiveId != 0 && !g. ActiveIdAllowOverlap )
5119
5119
return false ;
5120
5120
return true ;
5121
5121
}
@@ -5151,7 +5151,7 @@ bool ImGui::IsRootWindowOrAnyChildHovered(ImGuiHoveredFlags flags)
5151
5151
if (!IsWindowContentHoverable (g.HoveredRootWindow , flags))
5152
5152
return false ;
5153
5153
if (!(flags & ImGuiHoveredFlags_AllowWhenBlockedByActiveItem))
5154
- if (g.ActiveId != 0 && g. ActiveIdWindow != g. CurrentWindow )
5154
+ if (g.ActiveId != 0 && !g. ActiveIdAllowOverlap )
5155
5155
return false ;
5156
5156
return true ;
5157
5157
}
You can’t perform that action at this time.
0 commit comments