This commit is contained in:
syuilo 2023-05-15 13:57:36 +09:00
parent c066013c57
commit f4e6d73a8a
1 changed files with 2 additions and 4 deletions

View File

@ -66,10 +66,8 @@ onMounted(() => {
setPosition(); setPosition();
const loop = () => { const loop = () => {
loopHandler = window.requestAnimationFrame(() => { setPosition();
setPosition(); loopHandler = window.requestAnimationFrame(loop);
loop();
});
}; };
loop(); loop();