From 862cb9fd774a7dd4e904a59f614b62a5fa79c06b Mon Sep 17 00:00:00 2001 From: yunxiang wei <121092793+yiwangsimple@users.noreply.github.com> Date: Fri, 9 Aug 2024 15:16:45 +0800 Subject: [PATCH] Add files via upload --- web/github_link_node.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/github_link_node.js b/web/github_link_node.js index 843b1ad..ab6fb6b 100644 --- a/web/github_link_node.js +++ b/web/github_link_node.js @@ -24,7 +24,7 @@ const drawPaperPlaneIcon = function(node, orig, restArgs) { ctx.beginPath(); ctx.fillStyle = fgColor; const x = 4; // Left position - const y = -30; // Top position + const y = -34; // Top position ctx.fillText(paperPlaneIcon, x, y); ctx.restore(); @@ -106,7 +106,7 @@ LGraphCanvas.prototype.processMouseDown = function(e) { const node = nodes[i] const [nL, nT, nW, nH] = node.getBounding() const iconX = nL + 4 - const iconY = nT - 30 + const iconY = nT - 24 const iconX1 = nL + 24 const iconY1 = nT - 12