Skip to content

Commit 89d9a90

Browse files
authored
Merge pull request #238 from fredsa/patch-5
Enable TAB to access emulator
2 parents 122677b + 8d60f54 commit 89d9a90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/common/emu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function __createCanvas(doc:HTMLDocument, mainElement:HTMLElement, width:
3232
canvas.width = width;
3333
canvas.height = height;
3434
canvas.classList.add("emuvideo");
35-
canvas.tabIndex = -1; // Make it focusable
35+
canvas.tabIndex = 0; // Make it focusable and tabbable
3636
mainElement.appendChild(canvas);
3737
return canvas;
3838
}

0 commit comments

Comments
 (0)