mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-06-13 10:10:32 +00:00
Merge branch 'patch-canvas-tabindex' of https://github.com/abbail/ComfyUI
This commit is contained in:
commit
5b1efc70ec
@ -494,6 +494,7 @@ class ComfyApp {
|
|||||||
|
|
||||||
// Create and mount the LiteGraph in the DOM
|
// Create and mount the LiteGraph in the DOM
|
||||||
const canvasEl = (this.canvasEl = Object.assign(document.createElement("canvas"), { id: "graph-canvas" }));
|
const canvasEl = (this.canvasEl = Object.assign(document.createElement("canvas"), { id: "graph-canvas" }));
|
||||||
|
canvasEl.tabIndex = "1"
|
||||||
document.body.prepend(canvasEl);
|
document.body.prepend(canvasEl);
|
||||||
|
|
||||||
this.graph = new LGraph();
|
this.graph = new LGraph();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user