[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.

Faster scroll performance

Kasper (Oct 2, 2025, 11:44 PM +0200) a8d59f3d ce2b1132

+12 -4
+1
CHANGELOG.md
··· 6 6 - Make macOS media key permission request non-intrusive 7 7 - Improve error and crashing behaviour 8 8 - 2x faster library loading at startup 9 + - Slightly faster scroll performance 9 10 10 11 ## 0.19.9 - 2025 Jul 4 11 12 - Fix column size not updating when resizing window
+2
src/components/TrackList.svelte
··· 635 635 .selected 636 636 background-color: hsla(var(--hue), 70%, 46%, 1) 637 637 .tracklist :global 638 + contain: strict 638 639 display: flex 639 640 flex-direction: column 640 641 min-width: 0px ··· 656 657 content: '▼' 657 658 $row-height: 24px 658 659 .row 660 + contain: strict 659 661 width: 100% 660 662 height: $row-height 661 663 font-size: 12px
+9 -4
src/lib/helpers.ts
··· 10 10 return mins + ':' + secs_text 11 11 } 12 12 13 + let time_formatter: Intl.DateTimeFormat | undefined 14 + 13 15 export function format_date(timestamp: number) { 14 16 const date = new Date(timestamp) 15 17 const month = date.getMonth() + 1 16 18 const month_text = (month < 10 ? '0' : '') + month 17 19 const day = date.getDate() 18 20 const day_text = (day < 10 ? '0' : '') + day 19 - const clock = date.toLocaleTimeString(undefined, { 20 - hour: '2-digit', 21 - minute: '2-digit', 22 - }) 21 + if (!time_formatter) { 22 + time_formatter = new Intl.DateTimeFormat(undefined, { 23 + hour: '2-digit', 24 + minute: '2-digit', 25 + }) 26 + } 27 + const clock = time_formatter.format(date) 23 28 return date.getFullYear() + '/' + month_text + '/' + day_text + ' ' + clock 24 29 } 25 30