Skip to content

Commit 654a1ed

Browse files
author
shdancer
committed
fix: scroll bar does not reset
1 parent 2bf95ef commit 654a1ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/BlessingBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const interval = setInterval(() => {
2626
return
2727
}
2828
position.value -= 0.003
29-
if (position.value > 100) {
29+
if (position.value < -100) {
3030
position.value = 0
3131
}
3232
}, 10)

0 commit comments

Comments
 (0)