Bluesky app fork with some witchin' additions 💫

Tweak animation to not roll 0 -> 1, overflow hidden (#5148)

authored by hailey.at and committed by

GitHub 86de0dda 0ef17a46

+3 -2
+2 -2
src/lib/custom-animations/util.ts
··· 5 5 // - The count is going down and is 1 less than a multiple of 100 6 6 export function decideShouldRoll(isSet: boolean, count: number) { 7 7 let shouldRoll = false 8 - if (!isSet && count === 0) { 8 + if (!isSet && count === 1) { 9 9 shouldRoll = true 10 - } else if (count > 0 && count < 1000) { 10 + } else if (count > 1 && count < 1000) { 11 11 shouldRoll = true 12 12 } else if (count > 0) { 13 13 const mod = count % 100
+1
src/view/com/util/post-ctrls/PostCtrls.tsx
··· 244 244 a.flex_row, 245 245 a.justify_center, 246 246 a.align_center, 247 + a.overflow_hidden, 247 248 {padding: 5}, 248 249 (pressed || hovered) && t.atoms.bg_contrast_25, 249 250 ],