From 41050752dd778bdd4f21141bc296f9e50ba8bbde Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Tue, 11 Jul 2023 03:10:15 -0400 Subject: [PATCH] Fix for high DPI. --- src/litegraph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/litegraph.js b/src/litegraph.js index dc51ed6e8..e78f2080c 100755 --- a/src/litegraph.js +++ b/src/litegraph.js @@ -8219,7 +8219,7 @@ LGraphNode.prototype.executeAction = function(action) **/ LGraphCanvas.prototype.renderInfo = function(ctx, x, y) { x = x || 10; - y = y || this.canvas.height - 80; + y = y || this.canvas.offsetHeight - 80; ctx.save(); ctx.translate(x, y);