Commit a52b63e3 authored by limingzhe's avatar limingzhe

fix: crack scale

parent 4784aa24
......@@ -948,6 +948,7 @@ export class PlayComponent implements OnInit, OnDestroy {
this.renderArr.push(crack);
crack.x = this.mx;
crack.y = this.my;
crack.setScaleXY(this.mapScale);
tweenChange(crack, { alpha: 1 }, 0.25, () => {
setTimeout(() => {
removeItemFromArr(this.renderArr, crack);
......
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