diff options
| author | Fuwn <[email protected]> | 2023-12-02 06:01:54 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-12-02 06:01:54 -0800 |
| commit | b3f7c618f06cd5f4d47ea97dc49d69658a38624a (patch) | |
| tree | 81d3d353c23a1d3a57a5a0aea01533d7da84e219 /src/lib/Tools | |
| parent | feat(tools): remove character birthdays (diff) | |
| download | due.moe-b3f7c618f06cd5f4d47ea97dc49d69658a38624a.tar.xz due.moe-b3f7c618f06cd5f4d47ea97dc49d69658a38624a.zip | |
feat(wrapped): adjust highest rated display
Diffstat (limited to 'src/lib/Tools')
| -rw-r--r-- | src/lib/Tools/Wrapped.svelte | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/Tools/Wrapped.svelte b/src/lib/Tools/Wrapped.svelte index bfd9bbe0..99a984fd 100644 --- a/src/lib/Tools/Wrapped.svelte +++ b/src/lib/Tools/Wrapped.svelte @@ -32,6 +32,7 @@ let includeRepeats = false; let width = 980; let forceDark = false; + let highestRatedCount = 5; $: { includeMusic = includeMusic; @@ -339,7 +340,7 @@ <div> <b>Highest Rated Anime</b> <ol> - {#each animeList?.slice(0, 5) as anime} + {#each animeList?.slice(0, highestRatedCount) as anime} <li> <a href={`https://anilist.co/anime/${anime.id}`} target="_blank"> {abbreviate( @@ -370,7 +371,7 @@ <div> <b>Highest Rated Manga</b> <ol> - {#each mangaList?.slice(0, 5) as manga} + {#each mangaList?.slice(0, highestRatedCount) as manga} <li> <a href={`https://anilist.co/manga/${manga.id}`} target="_blank"> {abbreviate( @@ -414,6 +415,8 @@ <input type="checkbox" bind:checked={includeMusic} /> Include music<br /> <input type="checkbox" bind:checked={includeRepeats} /> Include rewatches & rereads<br /> <input type="checkbox" bind:checked={includeSpecials} /> Include specials and OVAs<br /> + <input type="range" min="1" max="10" bind:value={highestRatedCount} /> Highest rated media + count <br /> <br /> Manual width override <input type="range" min="1" max="1920" bind:value={width} /> |