mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-26 00:47:24 +08:00
Merge branch 'comfyanonymous:master' into feature/latent-store
This commit is contained in:
commit
4fd729f967
@ -902,7 +902,9 @@ export class ComfyApp {
|
|||||||
await this.#loadExtensions();
|
await this.#loadExtensions();
|
||||||
|
|
||||||
// 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 mainCanvas = document.createElement("canvas")
|
||||||
|
mainCanvas.style.touchAction = "none"
|
||||||
|
const canvasEl = (this.canvasEl = Object.assign(mainCanvas, { id: "graph-canvas" }));
|
||||||
canvasEl.tabIndex = "1";
|
canvasEl.tabIndex = "1";
|
||||||
document.body.prepend(canvasEl);
|
document.body.prepend(canvasEl);
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,6 @@ export function addValueControlWidget(node, targetWidget, defaultValue = "random
|
|||||||
|
|
||||||
var v = valueControl.value;
|
var v = valueControl.value;
|
||||||
|
|
||||||
console.log(targetWidget);
|
|
||||||
if (targetWidget.type == "combo" && v !== "fixed") {
|
if (targetWidget.type == "combo" && v !== "fixed") {
|
||||||
let current_index = targetWidget.options.values.indexOf(targetWidget.value);
|
let current_index = targetWidget.options.values.indexOf(targetWidget.value);
|
||||||
let current_length = targetWidget.options.values.length;
|
let current_length = targetWidget.options.values.length;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user