mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-03-11 21:16:12 +00:00
feat: support ALL for extension languages
feat: accented progress bar for episodelist
This commit is contained in:
parent
7b92b594c5
commit
4deacc6471
3 changed files with 4 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ui",
|
||||
"version": "6.4.133",
|
||||
"version": "6.4.134",
|
||||
"license": "BUSL-1.1",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.15.5",
|
||||
|
|
|
|||
|
|
@ -77,10 +77,10 @@
|
|||
{episode}. {title?.en ?? 'Episode ' + episode}
|
||||
</div>
|
||||
{#if watched || completed}
|
||||
<div class='mb-2 h-0.5 overflow-hidden w-full bg-blue-600 shrink-0' />
|
||||
<div class='mb-2 h-0.5 overflow-hidden w-full bg-custom shrink-0' />
|
||||
{:else if $watchProgress?.episode === episode}
|
||||
<div class='w-full bg-neutral-800 mb-2'>
|
||||
<div class='h-0.5 overflow-hidden bg-blue-600 shrink-0' style:width={$watchProgress.progress + '%'} />
|
||||
<div class='h-0.5 overflow-hidden bg-custom shrink-0' style:width={$watchProgress.progress + '%'} />
|
||||
</div>
|
||||
{/if}
|
||||
<div class='text-[9.6px] text-muted-foreground overflow-hidden'>
|
||||
|
|
|
|||
|
|
@ -244,6 +244,7 @@ export async function traceAnime (image: File | string) { // WAIT lookup logic
|
|||
}
|
||||
|
||||
export function codeToEmoji (c: string) {
|
||||
if (c === 'ALL') return '🌎'
|
||||
return c.replace(/./g, (ch) => String.fromCodePoint(0x1f1a5 + ch.charCodeAt(0)))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue