Skip to content

Conversation

@mar4ello6
Copy link
Contributor

Now, the scroll wheel will only scroll in the entity where the cursor is located. Before, it scrolled every Entity with ScrollComponent existing. The scroll bar now also recognizes the scroll wheel.

Now, the scroll wheel will only scroll in the entity where the cursor is located.
The scroll bar now also recognizes the scroll wheel.
@iProgramMC
Copy link
Contributor

I disagree with using Windows APIs directly within Proton, even if it's behind an ifdef-guard. I'd use extern variables or functions to get the x/y position of the cursor, and hook WM_MOUSEMOVE to update it.

I don't see why the scroll bar didn't fade in when scrolling. This is a good change.

@SethRobinson
Copy link
Owner

Appreciate the patch (sorry for the delay) - won't merge right now though, some things have changed since this was written (I added/changed some scroll wheel stuff so my SlideShow project could zoom in/out, it it may need to be tweaked to use that, hope to take a closer look later

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

Successfully merging this pull request may close these issues.

3 participants