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