From 8ccf5de97272e0749c951cc3fd1b6885598518b4 Mon Sep 17 00:00:00 2001 From: Grzegorz Kucmierz Date: Sat, 21 Feb 2026 23:04:04 +0000 Subject: [PATCH] Fix SVG path precision in share export --- src/utils/shareUtils.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/utils/shareUtils.js b/src/utils/shareUtils.js index ed8ef80..be1c356 100644 --- a/src/utils/shareUtils.js +++ b/src/utils/shareUtils.js @@ -253,8 +253,12 @@ export function buildShareSVG(data, t, formattedTime) { } else if (state === 2) { // Cross const d = cellSize * 0.6; const off = cellSize * 0.2; + const x1 = (cx + off).toFixed(1); + const y1 = (cy + off).toFixed(1); + const x2 = (cx + off + d).toFixed(1); + const y2 = (cy + off + d).toFixed(1); cells += ` - `; }