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

[BUG] Debug Tools do not scroll on macos #98

Closed
Spooky309 opened this issue Dec 24, 2024 · 4 comments
Closed

[BUG] Debug Tools do not scroll on macos #98

Spooky309 opened this issue Dec 24, 2024 · 4 comments

Comments

@Spooky309
Copy link

Testing with both the 'raylib-sidebar-scrolling-container' C example, and the Odin example. In both, scrolling works as expected, but if I hit D and open the debug tools, that seems to ignore scrolling input entirely. I have a feeling it's got something to do with the way Mac scrolling works where you can let go and it keeps scrolling for a bit (like a phone).

tldr: scroll containers worky, debug tools scroll containers no worky

@nicbarker
Copy link
Owner

Oh dear, yes I see. I've reproduced this locally. Thanks for reporting 🙂 Fix incoming.

@nicbarker
Copy link
Owner

Should be fixed here: 6a9b723

@nicbarker
Copy link
Owner

nicbarker commented Dec 24, 2024

In case you're wondering what the issue was - #66 <- this PR changed the default behaviour of floating elements to capture pointer events like scroll and mouse hover, so that you wouldn't get hover events punching through to elements underneath (desirable, usually). However the debug tools use a funky setup to get the particular visual appearance they have, which means the pointer events were getting captured by something other than the scroll container. Oops!

@Spooky309
Copy link
Author

Well, that was fast 😄

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

2 participants