diff --git a/src/editor.rs b/src/editor.rs index c25c3c9..1bff14b 100644 --- a/src/editor.rs +++ b/src/editor.rs @@ -49,12 +49,16 @@ impl Editor { let (controls, cmd) = Controls::new(song); - (Self { + let mut editor = Self { lyrics: Lyrics::new(), dimensions: size, cached_resized_bg: None, controls, theme, bg_img, - }, cmd) + }; + + editor.notify_resized(size.0, size.1); + + (editor, cmd) } // TODO: work on untangling this mess