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 am currently using the canvas.toJSON() function to export my canvas to a server side rendering system and I have noticed that after performing a gesture (zoom or rotate) the origin is always changes from top,left to center,center.
I believe this is caused by the _setOriginToCenter() function call within __gesturesRenderer() in the canvas_gestures mixin.
From my limited testing it seems that the origin can be reset by calling _setCenterToOrigin() just prior to the call to renderAll().
The text was updated successfully, but these errors were encountered:
I am currently using the canvas.toJSON() function to export my canvas to a server side rendering system and I have noticed that after performing a gesture (zoom or rotate) the origin is always changes from top,left to center,center.
I believe this is caused by the _setOriginToCenter() function call within __gesturesRenderer() in the canvas_gestures mixin.
From my limited testing it seems that the origin can be reset by calling _setCenterToOrigin() just prior to the call to renderAll().
The text was updated successfully, but these errors were encountered: