fix: icon sutff

This commit is contained in:
ThaUnknown 2024-08-26 11:25:26 +02:00
parent e8376c69c3
commit adcb93abfd
3 changed files with 10 additions and 10 deletions

View file

@ -5,7 +5,7 @@
import IPC from '@/modules/ipc.js'
import NavbarLink from './NavbarLink.svelte'
import { MagnifyingGlass } from 'svelte-radix'
import { Users, Clock, ListMusic, Settings, Heart } from 'lucide-svelte'
import { Users, Clock, Settings, Heart, ListVideo } from 'lucide-svelte'
const view = getContext('view')
export let page
function close () {
@ -25,7 +25,7 @@
</NavbarLink>
{#if $media?.media}
<NavbarLink click={() => { $view = $media.media }} icon='queue_music' {page} let:active>
<ListMusic size='2rem' class='flex-shrink-0 p-5 w-30 h-30 m-5 rounded' strokeWidth={active ? '3.5' : '2'} />
<ListVideo size='2rem' class='flex-shrink-0 p-5 w-30 h-30 m-5 rounded' strokeWidth={active ? '3.5' : '2'} />
</NavbarLink>
{/if}
<NavbarLink click={() => { page = 'watchtogether' }} _page='watchtogether' icon='groups' {page} let:active>

View file

@ -8,7 +8,7 @@
import { logout } from './Logout.svelte'
import IPC from '@/modules/ipc.js'
import SidebarLink from './SidebarLink.svelte'
import { Clock, Download, Heart, Home, ListMusic, LogIn, Settings, Users } from 'lucide-svelte'
import { Clock, Download, Heart, Home, ListVideo, LogIn, Settings, Users } from 'lucide-svelte'
import { MagnifyingGlass } from 'svelte-radix'
let updateState = ''
@ -56,7 +56,7 @@
</SidebarLink>
{#if $media?.media}
<SidebarLink click={() => { $view = $media.media }} icon='queue_music' text='Now Playing' {page} let:active>
<ListMusic size='2rem' class='flex-shrink-0 p-5 w-30 h-30 m-5 rounded' strokeWidth={active ? '3.5' : '2'} />
<ListVideo size='2rem' class='flex-shrink-0 p-5 w-30 h-30 m-5 rounded' strokeWidth={active ? '3.5' : '2'} />
</SidebarLink>
{/if}
<SidebarLink click={() => { page = 'watchtogether' }} _page='watchtogether' icon='groups' text='Watch Together' {page} let:active>

View file

@ -1221,8 +1221,8 @@
</span>
{#if 'audioTracks' in HTMLVideoElement.prototype && video?.audioTracks?.length > 1}
<div class='dropdown dropup with-arrow' use:click={toggleDropdown}>
<span class='icon ctrl mr-5 d-flex align-items-center' title='Audio Tracks'>
<ListMusic size='2.5rem' strokeWidth={2.5} class='h-full' />
<span class='icon ctrl mr-5 d-flex align-items-center h-full' title='Audio Tracks'>
<ListMusic size='2.5rem' strokeWidth={2.5} />
</span>
<div class='dropdown-menu dropdown-menu-left ctrl custom-radio p-10 pb-5 text-capitalize'>
{#each video.audioTracks as track}
@ -1236,8 +1236,8 @@
{/if}
{#if 'videoTracks' in HTMLVideoElement.prototype && video?.videoTracks?.length > 1}
<div class='dropdown dropup with-arrow'>
<span class='icon ctrl mr-5 d-flex align-items-center' title='Video Tracks'>
<ListVideo size='2.5rem' strokeWidth={2.5} class='h-full' />
<span class='icon ctrl mr-5 d-flex align-items-center h-full' title='Video Tracks'>
<ListVideo size='2.5rem' strokeWidth={2.5} />
</span>
<div class='dropdown-menu dropdown-menu-left ctrl custom-radio p-10 pb-5 text-capitalize'>
{#each video.videoTracks as track}
@ -1251,8 +1251,8 @@
{/if}
{#if subHeaders?.length}
<div class='subtitles dropdown dropup with-arrow' use:click={toggleDropdown}>
<span class='icon ctrl mr-5 d-flex align-items-center' title='Subtitles [C]'>
<Captions size='2.5rem'strokeWidth={2.5} class='h-full' />
<span class='icon ctrl mr-5 d-flex align-items-center h-full' title='Subtitles [C]'>
<Captions size='2.5rem'strokeWidth={2.5} />
</span>
<div class='dropdown-menu dropdown-menu-right ctrl custom-radio p-10 pb-5 text-capitalize'>
<input name='subtitle-radio-set' type='radio' id='subtitle-off-radio' value='off' checked={subHeaders && subs?.current === -1} />