diff --git a/src/ui/presenter.rs b/src/ui/presenter.rs index a68870a..7b6b91a 100644 --- a/src/ui/presenter.rs +++ b/src/ui/presenter.rs @@ -551,8 +551,8 @@ pub(crate) fn slide_view<'a>( let text = text_svg::TextSvg::new() .text(slide_text) .fill("#fff") - .shadow(shadow(5, 5, 5, "#000000")) - // .stroke(stroke(4, "#000")) + .shadow(shadow(2, 2, 5, "#000000")) + .stroke(stroke(2, "#000")) .font(font) .view() .map(|m| Message::None); diff --git a/todo.org b/todo.org index 3902815..32f41cb 100644 --- a/todo.org +++ b/todo.org @@ -4,6 +4,8 @@ * TODO [#A] Text could be built by using SVG instead of the text element. Maybe I could construct my own text element even This does almost work. There is a clear amount of lag or rather hang up since switching to the =text_svg= element. I think I may only keep it till I can figure out how to do strokes and shadows in iced's normal text element. +Actually, what if we just made the svg at load/creation time and stored it in the file system for later, then load the entire songs svg's into memory during the presentation to speed things up? Would that be faster than creating them at on the fly? Is it the creation of them that is slow or the rendering? + * TODO [#C] Make the presenter more modular so things are easier to change. * TODO [#A] Need to fix tests now that the basic app is working