File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,13 +52,13 @@ cc.DOM.methods = {
5252 } ,
5353 setScale :function ( scale , scaleY ) {
5454 //save dirty region when before change
55- //this._addDirtyRegionToDirector(this.boundingBoxToWorld ());
55+ //this._addDirtyRegionToDirector(this.getBoundingBoxToWorld ());
5656
5757 this . _scaleX = scale ;
5858 this . _scaleY = scaleY || scale ;
5959
6060 //save dirty region when after changed
61- //this._addDirtyRegionToDirector(this.boundingBoxToWorld ());
61+ //this._addDirtyRegionToDirector(this.getBoundingBoxToWorld ());
6262 this . dom . resize ( this . _scaleX , this . _scaleY ) ;
6363 } ,
6464 setScaleX :function ( x ) {
@@ -107,7 +107,7 @@ cc.DOM.methods = {
107107 if ( this . _rotation == newRotation )
108108 return ;
109109 //save dirty region when before change
110- //this._addDirtyRegionToDirector(this.boundingBoxToWorld ());
110+ //this._addDirtyRegionToDirector(this.getBoundingBoxToWorld ());
111111
112112 this . _rotation = newRotation ;
113113 this . _rotationRadians = this . _rotation * ( Math . PI / 180 ) ;
You can’t perform that action at this time.
0 commit comments