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