[READ-ONLY] Mirror of https://github.com/probablykasper/ferrum. Music library app for Mac, Linux and Windows ferrum.kasper.space
electron linux macos music music-library music-player napi windows
0

Configure Feed

Select the types of activity you want to include in your feed.

Fix lint errors

Kasper (Sep 15, 2024, 5:51 PM +0200) 502ab300 409abc8c

+3 -11
+1 -1
src/components/SidebarItems.svelte
··· 122 122 } 123 123 e.preventDefault() 124 124 } 125 - $: if (!!children.find((child) => child.id === $page.id)) { 125 + $: if (children.find((child) => child.id === $page.id)) { 126 126 const itemHandle = getContext<Writable<SidebarItemHandle | null>>('itemHandle') 127 127 itemHandle.set({ handleKey }) 128 128 }
+2 -10
src/components/TrackList.svelte
··· 1 1 <script lang="ts"> 2 - import { 3 - page, 4 - removeFromOpenPlaylist, 5 - filter, 6 - deleteTracksInOpen, 7 - paths, 8 - isMac, 9 - } from '../lib/data' 2 + import { page, removeFromOpenPlaylist, filter, deleteTracksInOpen, paths } from '../lib/data' 10 3 import { newPlaybackInstance, playingId } from '../lib/player' 11 4 import { 12 5 getDuration, ··· 15 8 checkShortcut, 16 9 assertUnreachable, 17 10 } from '../lib/helpers' 18 - import { appendToUserQueue, prependToUserQueue, queueVisible } from '../lib/queue' 11 + import { appendToUserQueue, prependToUserQueue } from '../lib/queue' 19 12 import { selection, tracklist_actions } from '../lib/page' 20 13 import { ipcListen, ipcRenderer } from '../lib/window' 21 14 import { onDestroy, onMount } from 'svelte' 22 15 import { dragged } from '../lib/drag-drop' 23 16 import * as dragGhost from './DragGhost.svelte' 24 17 import type { TrackID } from 'ferrum-addon/addon' 25 - import { modalCount } from './Modal.svelte' 26 18 import VirtualListBlock, { scroll_container_keydown } from './VirtualListBlock.svelte' 27 19 28 20 export let onTrackInfo: (allIds: TrackID[], index: number) => void