From bc9b55ddbd8ab85bde030825e1df470010eebe7b Mon Sep 17 00:00:00 2001 From: kali-linex <87039059+kali-linex@users.noreply.github.com> Date: Wed, 24 May 2023 19:35:35 +0000 Subject: [PATCH] ffix --- web/scripts/app.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/web/scripts/app.js b/web/scripts/app.js index a0ba79d05..88ce388ed 100644 --- a/web/scripts/app.js +++ b/web/scripts/app.js @@ -926,11 +926,8 @@ export class ComfyApp { const h = canvasEl.offsetHeight; canvasEl.width = Math.floor(sc * w); canvasEl.height = Math.floor(sc * h); - canvasEl.style.width = `${w}px`; - canvasEl.style.height = `${h}px`; this.scale = window.devicePixelRatio; this.ctx.scale(this.scale, this.scale); - canvas.draw(true, true); }; // Ensure the canvas fills the window