Roassal3 icon indicating copy to clipboard operation
Roassal3 copied to clipboard

Use scroll for moving the chart, not zooming it

Open olekscode opened this issue 2 years ago • 2 comments

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.

olekscode avatar Jun 02 '23 12:06 olekscode

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

tinchodias avatar Jun 02 '23 14:06 tinchodias

moved to pharo-graphics/Roassal

akevalion avatar Nov 10 '23 14:11 akevalion