diff options
author | 2021-10-31 17:42:43 +0700 | |
---|---|---|
committer | 2021-10-31 17:42:43 +0700 | |
commit | 0c76e0307ff7d4450c354812f8a25047f24948b4 (patch) | |
tree | c4ab989d99c65e2099a39d1e2f7a29db4816443b /examples/game_of_life/src/main.rs | |
parent | eed19dcf81334d0849744f1918ba880d5a7acc1c (diff) | |
download | iced-0c76e0307ff7d4450c354812f8a25047f24948b4.tar.gz iced-0c76e0307ff7d4450c354812f8a25047f24948b4.tar.bz2 iced-0c76e0307ff7d4450c354812f8a25047f24948b4.zip |
Reintroduce `Box` for `style_sheet` in `Slider`
Diffstat (limited to 'examples/game_of_life/src/main.rs')
-rw-r--r-- | examples/game_of_life/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/game_of_life/src/main.rs b/examples/game_of_life/src/main.rs index 01dcadc6..50112618 100644 --- a/examples/game_of_life/src/main.rs +++ b/examples/game_of_life/src/main.rs @@ -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)); |