diff --git a/package.json b/package.json index 9d4d35f..8f8afb0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ui", - "version": "6.4.114", + "version": "6.4.115", "license": "BUSL-1.1", "private": true, "packageManager": "pnpm@9.15.5", diff --git a/src/lib/components/ui/player/player.svelte b/src/lib/components/ui/player/player.svelte index 8d0aa4b..37f087f 100644 --- a/src/lib/components/ui/player/player.svelte +++ b/src/lib/components/ui/player/player.svelte @@ -479,8 +479,8 @@ if (!subtitles) return const entries = Object.entries(subtitles._tracks.value) const index = entries.findIndex(([index]) => index === subtitles!.current.value) - const nextIndex = (index + 1) % entries.length - subtitles.selectCaptions(entries[nextIndex]![0]) + const nextIndex = (index + 1) + subtitles.selectCaptions((index + 1) >= entries.length ? -1 : entries[nextIndex]![0]) } function seekBarKey (event: KeyboardEvent) { diff --git a/src/lib/components/ui/torrentclient/library/cells/checkboxcell.svelte b/src/lib/components/ui/torrentclient/library/cells/checkboxcell.svelte index 2de5142..437877d 100644 --- a/src/lib/components/ui/torrentclient/library/cells/checkboxcell.svelte +++ b/src/lib/components/ui/torrentclient/library/cells/checkboxcell.svelte @@ -9,8 +9,11 @@ } export let checked: Writable + function check () { + checked.update(value => !value) + } -
+
diff --git a/src/lib/components/ui/torrentclient/library/table.svelte b/src/lib/components/ui/torrentclient/library/table.svelte index 516d499..e72dc49 100644 --- a/src/lib/components/ui/torrentclient/library/table.svelte +++ b/src/lib/components/ui/torrentclient/library/table.svelte @@ -198,7 +198,7 @@ 'px-4 min-h-14 first:pl-6 last:pr-6 text-nowrap', (cell.id === 'episode') && 'text-muted-foreground', (cell.id === 'series' || cell.id === 'name') && 'min-w-80 text-wrap break-all', - cell.id === 'select' && 'p-0' + cell.id === 'select' && 'p-0 relative [&>div]:absolute' )}>