Disable keyboard navigation for all buttons
This commit is contained in:
parent
1985842ff0
commit
d502ca651c
1 changed files with 1 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ export default class UI {
|
|||
compat.addFullscreenchangeEventListener(() => { this.#update(); });
|
||||
compat.addPointerlockchangeEventListener(() => { this.#update(); });
|
||||
for (const button of buttons) {
|
||||
button.setAttribute("tabindex", "-1");
|
||||
button.addEventListener("click", this.#handleButtonClick.bind(this));
|
||||
}
|
||||
this.#update();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue