reverted Viewport.setRotation, created Viewport.setRotationWithPivot

This commit is contained in:
Tom 2022-12-05 19:40:30 -05:00
parent 05997d359c
commit 845cbced69

View File

@ -617,6 +617,7 @@ $.Viewport.prototype = {
var bounds = this.getBoundsNoRotate();
var constrainedBounds = this._applyBoundaryConstraints(bounds);
this._raiseConstraintsEvent(immediately);
if (bounds.x !== constrainedBounds.x ||
bounds.y !== constrainedBounds.y ||