Skip to content
Snippets Groups Projects
Commit 97ff9bd3 authored by ocornut's avatar ocornut
Browse files

Nav: fixed c licking window decorations (e.g. resize borders) from losing...

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.
parent c3dca77a
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment