Select seed input after opening overlay

Fixes #93.
This commit is contained in:
Florine W. Dekker 2020-10-22 16:45:31 +02:00
parent 55c6658e16
commit 4f1261b14b
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ export class Game {
this.seedOverlay.show();
this.seedInput.value = this.seed;
this.seedInput.focus();
setTimeout(() => this.seedInput.select(), 0);
}
);
this.seedOverlay = new Overlay(