Closed
Milestone
Refactor view transformation pipeline
Summary
High levels of zoom are very taxing on the hardware as we scale the canvas element. This creates relative big dom elements which especially chrome handles very poorly on mobile devices.
Possible solution
Instead of applying view transformation on the dom level we should move them into the render context, i.e. using a view matrix. This should allow us the keep the canvas size static and only render parts of the canvas. Which should remove zoom lag entirely.
Potential problems
This would be a mayor change to how we handle the zoom and page move tool.We need to figure out how to sync the state with the worker to show correct levels in the ui.
Loading
Loading
Loading
Loading