update todo

This commit is contained in:
Chris Cochrun 2025-04-22 09:48:53 -05:00
parent fc445e929f
commit 2f8ee4a317
2 changed files with 4 additions and 2 deletions

View file

@ -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);

View file

@ -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