Added ImGuiFocusedFlags_NoPopupHierarchy and ImGuiHoveredFlags_NoPopupHierarchy (followup #4527)

IsWindowFocused: fix flag usage (amend 6b1e094c) was technically harmless because of light typing.
This commit is contained in:
ocornut
2021-09-24 13:58:00 +02:00
parent ca097c2c68
commit 65ad63de84
5 changed files with 75 additions and 35 deletions

View File

@ -116,6 +116,10 @@ Breaking Changes:
Other Changes:
- Windows: Fixed background order of overlapping childs submitted sequentially. (#4493)
- IsWindowFocused: Added ImGuiFocusedFlags_NoPopupHierarchy flag allowing to exclude child popups
from the tested windows when combined with _ChildWindows.
- IsWindowHovered: Added ImGuiHoveredFlags_NoPopupHierarchy flag allowing to exclude child popups
from the tested windows when combined with _ChildWindows.
- InputTextMultiline: Fixed label size not being included into window contents rect unless
the whole widget is clipped.
- InputText: Allow cancelling/validating input with gamepad nav events to facilitate undoing