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
Create an object and add it to a canvas that has viewportTransform defined. Then try to center that object. The object is not centered. (close, but not quite) If you set the canvas zoom back to it's default value of 1 it will zoom in and the rectangle is then centered but it's now zoomed back in. canvas.setZoom(1);
Create an object and add it to a canvas that has viewportTransform defined. Then try to center that object. The object is not centered. (close, but not quite) If you set the canvas zoom back to it's default value of 1 it will zoom in and the rectangle is then centered but it's now zoomed back in.
canvas.setZoom(1);
See example here: http://jsfiddle.net/teewuane/c16rjtj7/1/
The text was updated successfully, but these errors were encountered: