summaryrefslogtreecommitdiffstats
path: root/examples/game_of_life
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-07-23 03:58:59 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-07-23 03:58:59 +0200
commitaaf598612338aacc2c73a27cceb26b239f2e3b70 (patch)
tree00838c44b753d5df6d7ef679de0e9d310be497aa /examples/game_of_life
parentbf5eaca2f2f6c603e2a47b39b04c22af545f8191 (diff)
downloadiced-aaf598612338aacc2c73a27cceb26b239f2e3b70.tar.gz
iced-aaf598612338aacc2c73a27cceb26b239f2e3b70.tar.bz2
iced-aaf598612338aacc2c73a27cceb26b239f2e3b70.zip
Improve `Menu` API to facilitate external control
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 27d4eec1..c934467d 100644
--- a/examples/game_of_life/src/main.rs
+++ b/examples/game_of_life/src/main.rs
@@ -788,7 +788,7 @@ struct Controls {
next_button: button::State,
clear_button: button::State,
speed_slider: slider::State,
- preset_list: pick_list::State,
+ preset_list: pick_list::State<Preset>,
}
impl Controls {