Add TODO
This commit is contained in:
parent
4fc9a12b95
commit
6a08ca656f
@ -104,6 +104,7 @@ export class MenuScene extends Phaser.Scene {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public revealMenuIcon(): void {
|
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 {
|
try {
|
||||||
(this.menuButton.getChildByID('menuIcon') as HTMLElement).hidden = false;
|
(this.menuButton.getChildByID('menuIcon') as HTMLElement).hidden = false;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user