mirror of
https://github.com/mat-1/matdoesdev.git
synced 2025-08-02 14:46:04 +00:00
oops x2
This commit is contained in:
parent
bcf1e09e4f
commit
d63a5de6ae
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@
|
|||
pathChangeTimestamps.push(Date.now())
|
||||
while (pathChangeTimestamps[0] < Date.now() - 5000) pathChangeTimestamps.shift()
|
||||
console.log(pathChangeTimestamps)
|
||||
if (pathChangeTimestamps.length >= 1) {
|
||||
if (pathChangeTimestamps.length >= 10) {
|
||||
const { initGravity } = await import('$lib/gravity')
|
||||
// wait 200ms for the animation to finish
|
||||
await new Promise((resolve) => setTimeout(resolve, 200))
|
||||
|
|
Loading…
Add table
Reference in a new issue