Closed orchetect closed 2 years ago
We can't put a Canvas inside as ScrollView, because Canvas renders to a texture which could be too big. Aure and I found this out while working on PianoRoll.
Instead we should apply transformations when rendering and their inverses when processing events
Related: #1
This is now implemented for iOS, but ran into issues on macOS.
macOS now working :)
How do you scroll and zoom?
ScrollView
to allow scrolling of canvasMagnificationGesture
to scale the canvas in response to trackpad pinch to zoom in/outI have a working proof-of-concept for these with bindings implemented that would need some polish