-
Notifications
You must be signed in to change notification settings - Fork 37.2k
Fix: prevent view shift when enable minimap with right-click on the scrollbar #210510
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
Conversation
|
#198636 should fix the scrollbar part. I have not figured out how to make the view not shift when right-click on the minimap scrollbar yet. I couldn't find out why right-click being recognized and registered as a ScrollEvent, which makes the view shift |
|
Will my PR ever get reviewed? 🥺 |
- for mouse events, only allow left button events
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you and apologies for the slow turn-around time!
|
@microsoft-github-policy-service agree |
How to test: right click on the scrollbar (but not on the slider), the current view should not shift anymore