From 944b365d19c7f6b0c15d83faa9d9f92f5e531f44 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Fri, 19 Sep 2025 10:28:24 -0500 Subject: [PATCH] the song_editor has it's slides in it's state now --- src/ui/song_editor.rs | 121 +++++++++++++++++++++--------------------- 1 file changed, 60 insertions(+), 61 deletions(-) diff --git a/src/ui/song_editor.rs b/src/ui/song_editor.rs index 2aa76c9..455872b 100644 --- a/src/ui/song_editor.rs +++ b/src/ui/song_editor.rs @@ -19,6 +19,7 @@ use cosmic::{ }; use dirs::font_dir; use iced_video_player::Video; +use rayon::iter::{IntoParallelIterator, ParallelIterator}; use tracing::{debug, error, warn}; use crate::{ @@ -34,7 +35,6 @@ pub struct SongEditor { pub song: Option, title: String, font_db: Arc, - fonts: Vec<(fontdb::ID, String)>, fonts_combo: combo_box::State, font_sizes: combo_box::State, font: String, @@ -48,7 +48,7 @@ pub struct SongEditor { video: Option