The tutorial fails to init sometimes for some weird reason...
main
Elijah C. Voigt 2 years ago
parent a7ffd6e0f9
commit c04f72dccd

@ -204,7 +204,7 @@ fn initialize_tutorial(
.map(|line| TextSection { .map(|line| TextSection {
value: line.clone(), value: line.clone(),
style: TextStyle { style: TextStyle {
font_size: 16.0, font_size: 8.0,
color: Color::hex(&text_visible_hex).unwrap(), color: Color::hex(&text_visible_hex).unwrap(),
font: ui_font.handle.clone(), font: ui_font.handle.clone(),
}, },
@ -253,7 +253,7 @@ fn initialize_tutorial(
value: "R e s t a r t".into(), value: "R e s t a r t".into(),
style: TextStyle { style: TextStyle {
color: Color::WHITE, color: Color::WHITE,
font_size: 12.0, font_size: 8.0,
font: font_handle.clone(), font: font_handle.clone(),
}, },
} }

Loading…
Cancel
Save