Skip to content

Commit

Permalink
seems much much better
Browse files Browse the repository at this point in the history
  • Loading branch information
JGantts committed Nov 23, 2024
1 parent eb51cd6 commit 220d00b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions jgantts-com/src/Curtain/Curtain.vue
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,11 @@ async function renderLoop() {
if (playStateInternal == BackgroundState.AfterFirstPaused) {
return
}
state = await renderScene(state);
while((state = await renderScene(state)) == AnimationState.AboveTop);
if (state == AnimationState.Inside) {
window.requestAnimationFrame(renderLoop)
}
})
if (state == AnimationState.AboveTop) {
renderLoop()
}
}
//@ts-expect-error
Expand Down

0 comments on commit 220d00b

Please sign in to comment.