From a1a6eeed0f56571a31406474ec3ee0f4d9319a39 Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Sat, 17 Aug 2024 11:33:17 -0400 Subject: [PATCH] Remove unused var mainCanvas (#488) --- src/scripts/app.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/scripts/app.ts b/src/scripts/app.ts index 9c1e0a19e..09339b65e 100644 --- a/src/scripts/app.ts +++ b/src/scripts/app.ts @@ -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([