From 6a08ca656f84d042b118e275593329f71554af0c Mon Sep 17 00:00:00 2001 From: Gregoire Parant Date: Mon, 12 Apr 2021 18:26:36 +0200 Subject: [PATCH] Add TODO --- front/src/Phaser/Menu/MenuScene.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/front/src/Phaser/Menu/MenuScene.ts b/front/src/Phaser/Menu/MenuScene.ts index 8899c62f..6d09f247 100644 --- a/front/src/Phaser/Menu/MenuScene.ts +++ b/front/src/Phaser/Menu/MenuScene.ts @@ -104,6 +104,7 @@ export class MenuScene extends Phaser.Scene { } public revealMenuIcon(): void { + //TODO fix me: add try catch because at the same time, 'this.menuButton' variable doesn't exist and there is error on 'getChildByID' function try { (this.menuButton.getChildByID('menuIcon') as HTMLElement).hidden = false; } catch (err) {