"...lm-evaluation-harness.git" did not exist on "aaef2c463e4ec8fe062e220c4034b5ca8e1de63e"
Commit eb67d055 authored by xss's avatar xss
Browse files

add canvas tab index so it recieves keydown events

parent 451447bd
......@@ -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