Commit 244b694
authored
Fix window focus check for
This changelist fixes a Graph Editor bug that appeared on some platforms, where the TAB-triggered add-node popup would open only once per session.
The root cause is that `addNodePopup` used `ImGuiFocusedFlags_RootWindow` to guard the TAB shortcut, which requires the ImGui NavWindow to be exactly the top-level root window.
On application startup, this condition holds because the root window has initial focus, but on dismissing the popup, ImGui restores focus to the popup's source window, causing the check to fail for subsequent TAB presses.addNodePopup in Graph Editor (#2977)1 parent 12bfd5a commit 244b694
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3878 | 3878 | | |
3879 | 3879 | | |
3880 | 3880 | | |
3881 | | - | |
| 3881 | + | |
3882 | 3882 | | |
3883 | 3883 | | |
3884 | 3884 | | |
| |||
0 commit comments