mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 18:52:19 +00:00
Fix for high DPI.
This commit is contained in:
@@ -8219,7 +8219,7 @@ LGraphNode.prototype.executeAction = function(action)
|
|||||||
**/
|
**/
|
||||||
LGraphCanvas.prototype.renderInfo = function(ctx, x, y) {
|
LGraphCanvas.prototype.renderInfo = function(ctx, x, y) {
|
||||||
x = x || 10;
|
x = x || 10;
|
||||||
y = y || this.canvas.height - 80;
|
y = y || this.canvas.offsetHeight - 80;
|
||||||
|
|
||||||
ctx.save();
|
ctx.save();
|
||||||
ctx.translate(x, y);
|
ctx.translate(x, y);
|
||||||
|
|||||||
Reference in New Issue
Block a user