Remove unused var mainCanvas (#488)

This commit is contained in:
Chenlei Hu
2024-08-17 11:33:17 -04:00
committed by GitHub
parent b33874db2b
commit a1a6eeed0f

View File

@@ -1855,10 +1855,6 @@ export class ComfyApp {
this.canvasEl = canvasEl
await this.#setUser()
// Create and mount the LiteGraph in the DOM
const mainCanvas = document.createElement('canvas')
mainCanvas.style.touchAction = 'none'
this.resizeCanvas()
await Promise.all([