You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered an issue where I've placed the editor on the right side of the page. However, when I attempt to zoom in or out, the scaling does not correctly center around the mouse cursor. The canvas has a parent element with relative positioning.
Could you please provide guidance or a solution to ensure that the zoom operation is centered on the mouse position?
Thank you for your assistance.
The text was updated successfully, but these errors were encountered:
Hello, it seems that using this.ds.changeScale(scale, [ e.clientX - rect.left, e.clientY - rect.top ]); also works, but I haven't conducted a complete test yet.
Hello,
I've encountered an issue where I've placed the editor on the right side of the page. However, when I attempt to zoom in or out, the scaling does not correctly center around the mouse cursor. The canvas has a parent element with relative positioning.
Could you please provide guidance or a solution to ensure that the zoom operation is centered on the mouse position?
Thank you for your assistance.
The text was updated successfully, but these errors were encountered: