Commit a89dec7a authored by rockyl's avatar rockyl

RenderContext修改为类导出

parent 711222f6
......@@ -179,7 +179,7 @@ export default class Transform extends ScillaComponent {
const matrix = this._localMatrix;
matrix.identity();
if (this.order === MATRIX_ORDER.ROTATE_SCALE) {
if (this.order === MATRIX_ORDER.SCALE_ROTATE) {
matrix.scale(sx, sy);
matrix.rotate(rotation * Math.PI / 180);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment