Fix examples and doc-tests

This commit is contained in:
Héctor Ramón Jiménez 2022-05-26 23:12:11 +02:00
parent cf0230072c
commit d5bc610d01
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
9 changed files with 23 additions and 178 deletions

View file

@ -178,10 +178,7 @@ fn view_controls<'a>(
.width(Length::Fill)
.align_items(Alignment::Center)
.spacing(10)
.push(
slider(1.0..=1000.0, speed as f32, Message::SpeedChanged)
.style(style::Slider),
)
.push(slider(1.0..=1000.0, speed as f32, Message::SpeedChanged))
.push(text(format!("x{}", speed)).size(16));
row()