mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-15 00:44:20 +00:00
Fixes for tooltip over modals leading to incorrect modal dimming. (#4729)
Amend 23ef6c1. Should rework tooltip to be in a consistent position in g.Windows[]
This commit is contained in:
parent
bdd2a94315
commit
e03383d088
2 changed files with 2 additions and 2 deletions
|
|
@ -4482,7 +4482,7 @@ ImGuiWindow* ImGui::FindBottomMostVisibleWindowWithinBeginStack(ImGuiWindow* par
|
|||
continue;
|
||||
if (!IsWindowWithinBeginStackOf(window, parent_window))
|
||||
break;
|
||||
if (IsWindowActiveAndVisible(window))
|
||||
if (IsWindowActiveAndVisible(window) && GetWindowDisplayLayer(window) <= GetWindowDisplayLayer(parent_window))
|
||||
bottom_most_visible_window = window;
|
||||
}
|
||||
return bottom_most_visible_window;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue