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

How to discard the Alt key when scroll? #1239

Closed
msnh2012 opened this issue Jun 30, 2023 · 2 comments
Closed

How to discard the Alt key when scroll? #1239

msnh2012 opened this issue Jun 30, 2023 · 2 comments

Comments

@msnh2012
Copy link

Currently, when I press the alt key and scroll my mouse, OSG always scrolls to one side. How can I fix this?
(Or where is the code that causes this issue?)
Thx.

@robertosfield
Copy link
Collaborator

? OSG always scrolls to one side??

What bit of the OSG are you talking about? Are you talking about a standard camara manipulator?

I don't recall any of them use the alt key so you'll need to be specific about what you are talking about otherwise there is no way anyone will be able to help you.

@msnh2012
Copy link
Author

msnh2012 commented Jul 3, 2023

I double check my code, I found the key to this issue finally. It's Qt's new mouse scroll API that has changed. I'll close this issue.
Thx.

@msnh2012 msnh2012 closed this as completed Jul 3, 2023
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