Skip to content

Commit f47919e

Browse files
authored
Merge pull request #16 from DanXi-Dev/celebration
fix: scroll bar does not reset
2 parents 7d935d8 + 654a1ed commit f47919e

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)