aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Tools
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-06-04 09:28:32 +0000
committerFuwn <[email protected]>2026-06-04 09:28:32 +0000
commitf34de9760850489d8f08eddb9bd33a41beda4771 (patch)
tree949f6b91e65980d0c2ff28141120d42261ad1696 /src/lib/Tools
parentfix(security): allow vercel.live and loosen font-src in CSP (diff)
downloaddue.moe-f34de9760850489d8f08eddb9bd33a41beda4771.tar.xz
due.moe-f34de9760850489d8f08eddb9bd33a41beda4771.zip
fix(lists): tick count down when media leaves a list
On revalidation the {#await} branch swaps and remounts CleanAnimeList, resetting NumberTicker's tween to 0 so it always counted up. Persist the last displayed count in AnimeListTemplate (which survives the remount) and feed it as the ticker's start, so the count animates in the real direction: down when an item leaves due/upcoming, up when one arrives.
Diffstat (limited to 'src/lib/Tools')
0 files changed, 0 insertions, 0 deletions