File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ cc.DOM.methods = /** @lends cc.DOM# */{
144
144
this . _contentSize . height * this . _anchorPoint . y ) ;
145
145
this . dom . width = size . width ;
146
146
this . dom . height = size . height ;
147
- this . setAnchorpoint ( this . getAnchorPoint ( ) ) ;
147
+ this . setAnchorPoint ( this . getAnchorPoint ( ) ) ;
148
148
}
149
149
if ( this . canvas ) {
150
150
this . canvas . width = this . _contentSize . width ;
@@ -342,15 +342,15 @@ cc.DOM.setTransform = function (x) {
342
342
x . dom . rotation = x . getRotation ( ) ;
343
343
x . dom . scale = { x :x . getScaleX ( ) , y :x . getScaleY ( ) } ;
344
344
x . dom . skew = { x :x . getSkewX ( ) , y :x . getSkewY ( ) } ;
345
- if ( x . setAnchorpoint )
346
- x . setAnchorpoint ( x . getAnchorPoint ( ) ) ;
345
+ if ( x . setAnchorPoint )
346
+ x . setAnchorPoint ( x . getAnchorPoint ( ) ) ;
347
347
x . dom . transforms ( ) ;
348
348
x . dom . position . y = - x . getPosition ( ) . y ;
349
349
x . dom . rotation = x . getRotation ( ) ;
350
350
x . dom . scale = { x :x . getScaleX ( ) , y :x . getScaleY ( ) } ;
351
351
x . dom . skew = { x :x . getSkewX ( ) , y :x . getSkewY ( ) } ;
352
- if ( x . setAnchorpoint )
353
- x . setAnchorpoint ( x . getAnchorPoint ( ) ) ;
352
+ if ( x . setAnchorPoint )
353
+ x . setAnchorPoint ( x . getAnchorPoint ( ) ) ;
354
354
x . dom . transforms ( ) ;
355
355
}
356
356
You can’t perform that action at this time.
0 commit comments