修改代码

This commit is contained in:
ival 2021-04-08 11:24:01 +08:00
parent d1281b0346
commit f84d221857

View File

@ -44,6 +44,7 @@ class AbstractShape extends Group {
this.model.base.position[1] = this.model.base.position[1] + dy;
this.instance.origin = utils.createOrigin(this.instance);
this.instance.transform = utils.createTransform({scale: this.model.base.scale, position: this.model.base.position, rotation: this.model.base.rotation*Math.PI/180});
this.dirty();
}
// 修改属性