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

Use scroll for moving the chart, not zooming it #543

Open
olekscode opened this issue Jun 2, 2023 · 2 comments
Open

Use scroll for moving the chart, not zooming it #543

olekscode opened this issue Jun 2, 2023 · 2 comments

Comments

@olekscode
Copy link
Contributor

At the moment, we use scroll to zoom-in and zoom-out. And we use mouse drag-n-drop for moving.
To be consistent with OS (and browsers), I suggest to use horizontal and vertical scrolls for moving and use "Pinch-to-zoom" (like on smartphone) to zoom-in and zoom-out.

If users have no touchpad, they can use the key combination.
So we should adopt the same interactions as on any website.

@tinchodias
Copy link
Contributor

hi! AFAIK, we don't receive the low-level events from SDL2, I hope in the future.
We should check this: https://github.com/libsdl-org/SDL_gesture

@akevalion
Copy link
Contributor

moved to pharo-graphics/Roassal

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

3 participants