diff options
author | 2021-10-20 15:50:42 +0700 | |
---|---|---|
committer | 2021-10-20 15:50:42 +0700 | |
commit | 11bcb1342796a6fabc7c5b89a15c22c754b014ce (patch) | |
tree | d55c147d35d422b219bd813ec71d49bb09833951 /examples/game_of_life/src/main.rs | |
parent | e00a2e9b2d97147be5912a97362d1bf1705b7c4e (diff) | |
download | iced-11bcb1342796a6fabc7c5b89a15c22c754b014ce.tar.gz iced-11bcb1342796a6fabc7c5b89a15c22c754b014ce.tar.bz2 iced-11bcb1342796a6fabc7c5b89a15c22c754b014ce.zip |
Wire up styling to `Slider` in `iced_native`
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 3e94bd44..2c027421 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)); |