Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
haileyok committed Sep 4, 2024
1 parent a6737b2 commit fa8a6c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/custom-animations/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// - The count is going down and is 1 less than a multiple of 100
export function decideShouldRoll(isSet: boolean, count: number) {
let shouldRoll = false
if (!isSet && count === 0) {
if (!isSet && count === 1) {
shouldRoll = true
} else if (count > 1 && count < 1000) {
shouldRoll = true
Expand Down

0 comments on commit fa8a6c0

Please sign in to comment.