ObjectProfile / Roassal3

The Roassal Visualization Engine
MIT License
97 stars 52 forks source link

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

Open olekscode opened 1 year ago

olekscode commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

moved to pharo-graphics/Roassal