summaryrefslogtreecommitdiffstats
path: root/examples/game_of_life
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-10-20 15:50:42 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-10-20 15:50:42 +0700
commit11bcb1342796a6fabc7c5b89a15c22c754b014ce (patch)
treed55c147d35d422b219bd813ec71d49bb09833951 /examples/game_of_life
parente00a2e9b2d97147be5912a97362d1bf1705b7c4e (diff)
downloadiced-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')
-rw-r--r--examples/game_of_life/src/main.rs2
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));