From 7137cf715d2d00921afc688b787bf637343cb931 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Wed, 26 Feb 2025 16:09:12 -0600 Subject: [PATCH] songs are almost editable --- src/core/songs.rs | 7 ++-- src/ui/song_editor.rs | 85 ++++++++++++++++++++++++++++++++++++++----- 2 files changed, 79 insertions(+), 13 deletions(-) diff --git a/src/core/songs.rs b/src/core/songs.rs index 31f5513..9e370be 100644 --- a/src/core/songs.rs +++ b/src/core/songs.rs @@ -446,7 +446,6 @@ impl Song { for verse in verse_order.unwrap_or_default() { let mut verse_name = ""; - debug!(verse = verse); for word in VERSE_KEYWORDS { let end_verse = verse.get(1..2).unwrap_or_default(); @@ -476,9 +475,9 @@ impl Song { error!("NOT WORKING!"); }; } - for lyric in lyric_list.iter() { - debug!(lyric = ?lyric) - } + // for lyric in lyric_list.iter() { + // debug!(lyric = ?lyric) + // } Ok(lyric_list) } else { Err(miette!("There are no lyrics")) diff --git a/src/ui/song_editor.rs b/src/ui/song_editor.rs index 62cdd52..7fc2050 100644 --- a/src/ui/song_editor.rs +++ b/src/ui/song_editor.rs @@ -40,6 +40,7 @@ pub struct SongEditor { background: Option, video: Option