diff options
| -rw-r--r-- | aero.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -48,8 +48,9 @@ function sparkleCursor() { last = now; const s = document.createElement('div'); s.className = 'sparkle'; - s.style.left = e.clientX + 'px'; - s.style.top = e.clientY + 'px'; + const z = window.__uiScale || 1; + s.style.left = (e.clientX / z) + 'px'; + s.style.top = (e.clientY / z) + 'px'; const theme = document.body.dataset.theme; // chrome: iridescent / holographic palette (cyan→magenta→pink) // aero: warm-cool rainbow as before |
