Open xiaopow opened 4 years ago
You will need to create a new state-machine drag-state for this instead of the standard states. I think there is a PR that was opened a long time ago which aimed to support mobile events, which will include touch events.
Any updates on this?
@renato-bohler is it, somehow, related to mobile events that you're doing?
@renato-bohler is it, somehow, related to mobile events that you're doing?
Not directly... but in order to achieve dragging the canvas with the scroll wheel click, I believe we would need a very similar implementation.
Is there a way to move the canvas with mouse wheel / trackpad scroll inside of click and drag?