Make sure the virtual keyboard isn't visible in the next scene
This commit is contained in:
parent
86e90c2dc2
commit
52acc143f6
@ -72,6 +72,11 @@ export class LoginScene extends ResizableScene {
|
|||||||
}
|
}
|
||||||
this.login(this.name);
|
this.login(this.name);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.events.on('destroy', () => {
|
||||||
|
// Make sure the virtual keyboard isn't visible in the next scene
|
||||||
|
nameInputElement.blur()
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
update(time: number, delta: number): void {
|
update(time: number, delta: number): void {
|
||||||
|
Loading…
Reference in New Issue
Block a user