The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Render UI at a higher resolution when viewing with a higher pixel ratio
malerne6e1999f96ad
diff --git a/web/scripts/app.js b/web/scripts/app.jsindex 97b7c8d31..514ca3958 100644--- a/web/scripts/app.js+++ b/web/scripts/app.js@@ -921,8 +921,9 @@ export class ComfyApp {this.graph.start();function resizeCanvas() {- canvasEl.width = canvasEl.offsetWidth;- canvasEl.height = canvasEl.offsetHeight;+ canvasEl.width = canvasEl.offsetWidth * window.devicePixelRatio;+ canvasEl.height = canvasEl.offsetHeight * window.devicePixelRatio;+ canvasEl.getContext("2d").scale(window.devicePixelRatio, window.devicePixelRatio);canvas.draw(true, true);}