背景特效切换美化

This commit is contained in:
2025-12-07 21:31:31 +08:00
parent 6e4cdd22f9
commit 89d2330e72
4 changed files with 79 additions and 7 deletions
@@ -168,6 +168,7 @@ onMounted(() => {
})
window.addEventListener('mousemove', onMouseMove, { passive: true })
document.addEventListener('visibilitychange', onVisibilityChange)
draw() // Initial draw to ensure no flicker
raf = requestAnimationFrame(loop)
})