Skip to content

Commit 9269aa7

Browse files
committed
Swapped to using public properties
1 parent efe6330 commit 9269aa7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/gameobjects/components/Transform.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,8 +426,8 @@ var Transform = {
426426
parent = parents[i];
427427

428428
tempMatrix.translate(parent.x, parent.y);
429-
tempMatrix.rotate(parent._rotation);
430-
tempMatrix.scale(parent._scaleX, parent._scaleY);
429+
tempMatrix.rotate(parent.rotation);
430+
tempMatrix.scale(parent.scaleX, parent.scaleY);
431431
}
432432

433433
tempMatrix.translate(this.x, this.y);

0 commit comments

Comments
 (0)