parent
944b365d19
commit
d27e12d9f8
1 changed files with 2 additions and 8 deletions
|
|
@ -2,11 +2,7 @@ use std::{io, path::PathBuf, sync::Arc};
|
||||||
|
|
||||||
use cosmic::{
|
use cosmic::{
|
||||||
dialog::file_chooser::{open::Dialog, FileFilter},
|
dialog::file_chooser::{open::Dialog, FileFilter},
|
||||||
iced::{
|
iced::{alignment::Vertical, Font, Length},
|
||||||
alignment::Vertical,
|
|
||||||
font::{Family, Stretch, Style, Weight},
|
|
||||||
Font, Length,
|
|
||||||
},
|
|
||||||
iced_wgpu::graphics::text::cosmic_text::fontdb,
|
iced_wgpu::graphics::text::cosmic_text::fontdb,
|
||||||
iced_widget::{column, row},
|
iced_widget::{column, row},
|
||||||
theme,
|
theme,
|
||||||
|
|
@ -20,7 +16,7 @@ use cosmic::{
|
||||||
use dirs::font_dir;
|
use dirs::font_dir;
|
||||||
use iced_video_player::Video;
|
use iced_video_player::Video;
|
||||||
use rayon::iter::{IntoParallelIterator, ParallelIterator};
|
use rayon::iter::{IntoParallelIterator, ParallelIterator};
|
||||||
use tracing::{debug, error, warn};
|
use tracing::{debug, error};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
core::{service_items::ServiceTrait, slide::Slide, songs::Song},
|
core::{service_items::ServiceTrait, slide::Slide, songs::Song},
|
||||||
|
|
@ -46,7 +42,6 @@ pub struct SongEditor {
|
||||||
editing: bool,
|
editing: bool,
|
||||||
background: Option<Background>,
|
background: Option<Background>,
|
||||||
video: Option<Video>,
|
video: Option<Video>,
|
||||||
current_font: Font,
|
|
||||||
ccli: String,
|
ccli: String,
|
||||||
song_slides: Option<Vec<Slide>>,
|
song_slides: Option<Vec<Slide>>,
|
||||||
slide_state: SlideEditor,
|
slide_state: SlideEditor,
|
||||||
|
|
@ -131,7 +126,6 @@ impl SongEditor {
|
||||||
audio: PathBuf::new(),
|
audio: PathBuf::new(),
|
||||||
background: None,
|
background: None,
|
||||||
video: None,
|
video: None,
|
||||||
current_font: cosmic::font::default(),
|
|
||||||
ccli: "8".to_string(),
|
ccli: "8".to_string(),
|
||||||
slide_state: SlideEditor::default(),
|
slide_state: SlideEditor::default(),
|
||||||
song_slides: None,
|
song_slides: None,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue