背景特效切换美化
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user