[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 secondary canvas resize

Kasper (Oct 2, 2025, 11:46 PM +0200) 12bb9346 ec613429

+4 -4
+4 -4
src/lib/visualizer/Visualizer.svelte
··· 208 208 } 209 209 if (next_vis.should_resize) { 210 210 next_vis.should_resize = false 211 - schedule_resize(next_vis) 211 + schedule_resize(next_vis, true) 212 212 } 213 213 next_vis.toy.set_buffer_a({ source: shaders[new_shader_index].shader }) 214 214 next_vis.toy.play() ··· 277 277 const next_index = (current_shader_index + 1) % shaders.length 278 278 transition_to_shader(next_index, true) 279 279 } 280 - }, 10000) 280 + }, 20000) 281 281 } 282 282 283 283 schedule_auto_transition() ··· 292 292 }, 1000) 293 293 } 294 294 295 - function schedule_resize(vis: Vis) { 296 - if (!transition && !vis.is_main) { 295 + function schedule_resize(vis: Vis, now?: boolean) { 296 + if (!transition && !vis.is_main && !now) { 297 297 vis.should_resize = true 298 298 return 299 299 }