trying to adjust the text_svg
Some checks failed
/ test (push) Has been cancelled

This commit is contained in:
Chris Cochrun 2025-09-05 15:26:14 -05:00
parent 035f8896f1
commit fae83aedc5
5 changed files with 44 additions and 40 deletions

View file

@ -812,10 +812,10 @@ pub(crate) fn slide_view(
let text: Element<Message> =
if let Some(text) = &slide.text_svg {
if let Some(handle) = &text.handle {
Image::new(handle)
image(handle)
.content_fit(ContentFit::Cover)
.width(Length::Fill)
.height(Length::Fill)
.width(width)
.height(size.height)
.into()
} else {
Space::with_width(0).into()