Add files via upload

This commit is contained in:
yunxiang wei
2024-08-09 15:16:45 +08:00
committed by GitHub
parent 609d47a8b9
commit 862cb9fd77
+2 -2
View File
@@ -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