-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help Text for ImGuiIO unclear #1262
Comments
ocornut
added a commit
that referenced
this issue
Aug 5, 2017
…oard flags timing and NewFrame(). (#1262)
The better interpretation is the first one. As the
But as you pointed out it's not a big issues if you do the second, it will only delay the toggle of WantCaptureMouse which is a hardly noticeable thing. I have added some clarification to the both parts of the document which refers to those flags, so it should be clearer now (see commit). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the help text for ImGuiIO it may mean that I should store the inputs received that frame, then after calling NewFrame() check the WantCaptureMouse and similar fields to determine if I should forward them to the program.
Or it means to query the fields before filling the input, not after calling new frame, and forwarding them immediately if not used. It probably doesn't matter given the short time between frames, but which is the better interpretation?
The text was updated successfully, but these errors were encountered: