Skip to content

Scroll mode optimization#502

Merged
spoenemann merged 1 commit intoeclipse-sprotty:masterfrom
330GRX:master
Feb 10, 2026
Merged

Scroll mode optimization#502
spoenemann merged 1 commit intoeclipse-sprotty:masterfrom
330GRX:master

Conversation

@330GRX
Copy link
Copy Markdown
Contributor

@330GRX 330GRX commented Oct 13, 2025

I made an optimization: when pressing the Alt key to enter Scroll Mode, pressing the Shift key while scrolling the wheel will make the viewport move horizontally.

This aligns more with user intuition, as horizontal scrolling is handled the same way in browsers, Microsoft Word, Microsoft Excel, and other software.

Copy link
Copy Markdown
Contributor

@spoenemann spoenemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the nice contribution @330GRX, and sorry for the late response. Just one remark below, otherwise it looks good.

Comment thread packages/sprotty/src/features/viewport/zoom.ts
@spoenemann
Copy link
Copy Markdown
Contributor

I can apply the check separately. Thanks again!

@spoenemann spoenemann merged commit 27b8308 into eclipse-sprotty:master Feb 10, 2026
2 checks passed
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.

2 participants