|
@@ -134,6 +134,8 @@
|
|
|
rd._noResizeOnScale = (this.cacheBehavior & Group2D.GROUPCACHEBEHAVIOR_NORESIZEONSCALE) !== 0;
|
|
|
}
|
|
|
this.size = size;
|
|
|
+ //set actualSize to null so that changing width and height will change contentArea
|
|
|
+ this._actualSize = null;
|
|
|
this._viewportPosition = Vector2.Zero();
|
|
|
this._viewportSize = Size.Zero();
|
|
|
}
|