-
|
Beta Was this translation helpful? Give feedback.
Answered by
asturur
Dec 20, 2024
Replies: 1 comment 5 replies
-
We don't parse the css transform of the canvas indeed. We have just an approximate scaling if there is a difference between with and actual width. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The css transform is so complicated, unless you can get it ready made by some browser api that can parse it for you from the canvas up to the dom including everything that is in the middle.
Once you know which is the transform applied to the canvas, you can add it to the viewport transform i suppose