ctx.input(|i| i.focused)
always gets false
for the first few frames
#4468
Labels
bug
Something is broken
description
I want my window to automatically close when it loses focus, but in the first few frames when the app starts,
ctx.input(|i| i.focused)
always getsfalse
(which makes my app close on the first frame)reproduce
env
Now my solution is as follows, but it doesn't seem elegant.
The text was updated successfully, but these errors were encountered: