mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2026-10-25 15:05:25 +00:00
Enable TAB to access emulator
While in the IDE: - (NEW) Use ESC, then TAB to focus emulator - (Existing) Use ESC, then SHIFT-TAB to access sidenav
This commit is contained in:
1 parent
752d333839
commit
8d60f542e6
1 file changed
+1
-1
+1
-1
@@ -32,7 +32,7 @@ export function __createCanvas(doc:HTMLDocument, mainElement:HTMLElement, width:
|
||||
canvas.width = width;
|
||||
canvas.height = height;
|
||||
canvas.classList.add("emuvideo");
|
||||
canvas.tabIndex = -1; // Make it focusable
|
||||
canvas.tabIndex = 0; // Make it focusable and tabbable
|
||||
mainElement.appendChild(canvas);
|
||||
return canvas;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user