Fix for high DPI.

This commit is contained in:
comfyanonymous
2023-07-11 03:10:15 -04:00
parent 8e6be3c8de
commit 41050752dd

View File

@@ -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);