This commit is contained in:
parent
12cca98a9b
commit
45880c832a
2 changed files with 9 additions and 3 deletions
|
|
@ -26,7 +26,7 @@ pub struct Slide {
|
|||
font: String,
|
||||
font_size: i32,
|
||||
stroke_size: i32,
|
||||
stroke_color: Rgba,
|
||||
stroke_color: Option<Rgba>,
|
||||
text_alignment: TextAlignment,
|
||||
audio: Option<PathBuf>,
|
||||
video_loop: bool,
|
||||
|
|
@ -756,8 +756,8 @@ mod test {
|
|||
Ok(_s) => {
|
||||
assert!(true)
|
||||
}
|
||||
Err(_e) => {
|
||||
assert!(false)
|
||||
Err(e) => {
|
||||
assert!(false, "{:?}", e)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,13 @@
|
|||
text: "This is Frodo",
|
||||
font: "Quicksand",
|
||||
font_size: 50,
|
||||
stroke_size: 0,
|
||||
stroke_color: None,
|
||||
text_alignment: MiddleCenter,
|
||||
video_loop: false,
|
||||
video_start_time: 0.0,
|
||||
video_end_time: 0.0,
|
||||
pdf_index: 0,
|
||||
),
|
||||
|
||||
(
|
||||
|
|
@ -23,9 +26,12 @@
|
|||
text: "This is Frodo",
|
||||
font: "Quicksand",
|
||||
font_size: 50,
|
||||
stroke_size: 0,
|
||||
stroke_color: None,
|
||||
text_alignment: MiddleCenter,
|
||||
video_loop: false,
|
||||
video_start_time: 0.0,
|
||||
video_end_time: 0.0,
|
||||
pdf_index: 0,
|
||||
)
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue