tangled
alpha
login
or
join now
retr0.id
/
pdsls
forked from
pds.ls/pdsls
1
fork
atom
atproto explorer
1
fork
atom
overview
issues
pulls
pipelines
fix trailing star effect when scrolling
handle.invalid
4 months ago
becd44cf
66ca6faf
verified
This commit was signed with the committer's
known signature
.
handle.invalid
SSH Key Fingerprint:
SHA256:mBrT4x0JdzLpbVR95g1hjI1aaErfC02kmLRkPXwsYCk=
+2
-2
1 changed file
expand all
collapse all
unified
split
src
layout.tsx
+2
-2
src/layout.tsx
···
95
95
const star = document.createElement("div");
96
96
star.className = "star";
97
97
star.textContent = "✨";
98
98
-
star.style.left = e.pageX + "px";
99
99
-
star.style.top = e.pageY + "px";
98
98
+
star.style.left = e.clientX + "px";
99
99
+
star.style.top = e.clientY + "px";
100
100
101
101
const tx = (Math.random() - 0.5) * 50;
102
102
const ty = (Math.random() - 0.5) * 50;