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 }; }