diff --git a/clock.js b/clock.js index 4818a09..b0ae1ba 100644 --- a/clock.js +++ b/clock.js @@ -43,8 +43,8 @@ // Position markers based on the current clock size // Move markers slightly inward and tweak the center position so // the ring of ticks lines up perfectly with the border. - const borderOffset = clock.offsetWidth > 300 ? 35 : 25; - const centerAdjust = { x: -1, y: -1 }; + const borderOffset = clock.offsetWidth > 300 ? 45 : 26; + const centerAdjust = { x: -3, y: -2 }; const markerRadius = clock.offsetWidth / 2 - borderOffset; markers.forEach((m, i) => { const angle = (i / 16) * 2 * Math.PI;