supp debug log

This commit is contained in:
DESKTOP-FMM8UI0\CLV 2021-03-09 13:53:46 +01:00
parent 858bf0b384
commit afac042706
1 changed files with 6 additions and 4 deletions

View File

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