Commit 5b1efc70 authored by comfyanonymous's avatar comfyanonymous
Browse files

Merge branch 'patch-canvas-tabindex' of https://github.com/abbail/ComfyUI

parents cc309568 eb67d055
......@@ -494,6 +494,7 @@ class ComfyApp {
// Create and mount the LiteGraph in the DOM
const canvasEl = (this.canvasEl = Object.assign(document.createElement("canvas"), { id: "graph-canvas" }));
canvasEl.tabIndex = "1"
document.body.prepend(canvasEl);
this.graph = new LGraph();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment