commit | 97ff9bd37038d2c00372eeb7438964e59cc53c7e | [log] [tgz] |
---|---|---|
author | ocornut <omarcornut@gmail.com> | Mon Jul 22 15:04:25 2024 +0200 |
committer | ocornut <omarcornut@gmail.com> | Mon Jul 22 15:04:25 2024 +0200 |
tree | fa521e14237e2e2a120970f915025a606e5f6d0f | |
parent | c3dca77a19722d7ec0d2f7dfc1238b5166af2d46 [diff] |
Nav: fixed c licking window decorations (e.g. resize borders) from losing focused item when within a child window using ImGuiChildFlags_NavFlattened. In essence, using ImGuiFocusRequestFlags_RestoreFocusedChild here is a way to reduce changes caused by FocusWindow(), but it could be done more neatly. See amended "nav_flattened" test.