fix: default focus
This commit is contained in:
parent
58ffde7d48
commit
2bedf3847d
|
@ -41,6 +41,7 @@ room.on('entityAdded', (entity) => {
|
|||
const appNode = document.querySelector('.app');
|
||||
renderer.element.tabIndex = 0;
|
||||
appNode.appendChild(renderer.element);
|
||||
renderer.element.focus();
|
||||
// Accept input.
|
||||
const canvasNode = document.querySelector('.app canvas');
|
||||
const actionRegistry = new ActionRegistry();
|
||||
|
|
Loading…
Reference in New Issue
Block a user