supp debug log

This commit is contained in:
DESKTOP-FMM8UI0\CLV 2021-03-09 13:53:46 +01:00
parent 858bf0b384
commit afac042706

View File

@ -661,18 +661,20 @@ export class GameScene extends ResizableScene implements CenterListener {
scale : 1, scale : 1,
ease : "EaseOut", ease : "EaseOut",
duration : 400, duration : 400,
}); });
this.popUpElement.setClassName("popUpElement"); this.popUpElement.setClassName("popUpElement");
} else { } else {
this.tweens.add({ this.tweens.add({
targets : this.popUpElement , targets : this.popUpElement ,
scale : 0, scale : 0,
ease : "EaseOut", ease : "EaseOut",
duration : 400, duration : 400,
onComplete : () => {
this.popUpElement?.destroy();
this.popUpElement = undefined;
},
}); });
} }
}); });