Reintroduce Box for style_sheet in Slider

This commit is contained in:
Héctor Ramón Jiménez 2021-10-31 17:42:43 +07:00
parent eed19dcf81
commit 0c76e0307f
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
5 changed files with 26 additions and 11 deletions

View file

@ -853,7 +853,7 @@ impl Controls {
speed as f32,
Message::SpeedChanged,
)
.style(&style::Slider),
.style(style::Slider),
)
.push(Text::new(format!("x{}", speed)).size(16));