diff options
| author | Fuwn <[email protected]> | 2024-05-08 18:18:05 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-05-08 18:18:05 -0700 |
| commit | 7638aff382799dddd12597702fe5c86b57e23702 (patch) | |
| tree | 0b0302c8a63a0b2cd7add3b491c74af660c3ee12 /src/lib/List | |
| parent | fix(CleanMangaList): fix dummy increment guard (diff) | |
| download | due.moe-7638aff382799dddd12597702fe5c86b57e23702.tar.xz due.moe-7638aff382799dddd12597702fe5c86b57e23702.zip | |
feat(NumberTicker): unused, but implemented
Diffstat (limited to 'src/lib/List')
| -rw-r--r-- | src/lib/List/ListTitle.svelte | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/List/ListTitle.svelte b/src/lib/List/ListTitle.svelte index 0112963f..2c597c09 100644 --- a/src/lib/List/ListTitle.svelte +++ b/src/lib/List/ListTitle.svelte @@ -16,6 +16,10 @@ <summary> <span title={title.hint || undefined} use:tooltip>{title.title}</span> {#if !hideCount}[{count === -1337 ? '...' : count}]{/if} + <!-- {#if !hideCount}[{#if count === -1337}...{:else}<NumberTicker + end={count} + duration={Math.min(2500, Math.max(500, Math.abs(count - 0) * 10))} + />{/if}]{/if} --> {#if !hideTime} <small class="opaque">{time ? time.toFixed(3) : '...'}s</small> {/if} |