From 847d3614316cf03aea3d7e000b1eee9a75177b1d Mon Sep 17 00:00:00 2001 From: fukunee Date: Sat, 19 Sep 2026 17:39:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=BF=E7=AD=BE=E6=96=87=E5=AD=97=E5=B7=A6?= =?UTF-8?q?=E7=A7=BB2px?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scene/CesiumGlobe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scene/CesiumGlobe.js b/src/scene/CesiumGlobe.js index 56b4317..7b95079 100644 --- a/src/scene/CesiumGlobe.js +++ b/src/scene/CesiumGlobe.js @@ -116,7 +116,7 @@ function makeStickyNote(text, fontSize, selected = false) { ctx.font = font; ctx.textBaseline = 'middle'; ctx.textAlign = 'center'; - ctx.fillText(text, ox + arrowW + bodyW / 2, oy + h / 2 + 1); + ctx.fillText(text, ox + arrowW + bodyW / 2 - 2, oy + h / 2 + 1); return { canvas: c, scale: 1 / S, width: cw, height: ch, tipX: B, tipY: B + h / 2 }; }