Skip to content
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

Is the Imgui io.wantCaptureMouse binding correct? #75

Open
jdf-id-au opened this issue Nov 24, 2021 · 0 comments
Open

Is the Imgui io.wantCaptureMouse binding correct? #75

jdf-id-au opened this issue Nov 24, 2021 · 0 comments

Comments

@jdf-id-au
Copy link

Thanks for this magnificent contribution to the nim ecosystem.

Is it possible that the io.wantCaptureMouse binding is somehow incorrect?

I am getting correct values from io.mousePos but io.wantCaptureMouse stays false even when a simultaneously-displayed igShowDemoWindow() dynamically shows the correct value. I was able to bind an igCheckbox to io.wantCaptureMouse.addr; the checkbox functioned like a normal checkbox but didn't represent the correct value.

I'm experiencing this on both linux and macos through GLFW with nimgl v1.1.10, nim 1.6, c backend. More detail available if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant