summaryrefslogtreecommitdiffstats
path: root/examples/tour/src/main.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-10-31 16:53:18 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-10-31 16:53:18 +0700
commitd36ce33a95c277ee8fe45555df17daf21ef02ef8 (patch)
tree57bc16dda40405c33447bb59a78a4ba33adef7f2 /examples/tour/src/main.rs
parent661cb5736ecc6e7810591216aa541db582a2fcc0 (diff)
downloadiced-d36ce33a95c277ee8fe45555df17daf21ef02ef8.tar.gz
iced-d36ce33a95c277ee8fe45555df17daf21ef02ef8.tar.bz2
iced-d36ce33a95c277ee8fe45555df17daf21ef02ef8.zip
Reintroduce `Box` for `style_sheet` in `Button`
Diffstat (limited to '')
-rw-r--r--examples/tour/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tour/src/main.rs b/examples/tour/src/main.rs
index 176d275c..b5af48c7 100644
--- a/examples/tour/src/main.rs
+++ b/examples/tour/src/main.rs
@@ -64,7 +64,7 @@ impl Sandbox for Tour {
controls = controls.push(
button(back_button, "Back")
.on_press(Message::BackPressed)
- .style(&style::Button::Secondary),
+ .style(style::Button::Secondary),
);
}
@@ -74,7 +74,7 @@ impl Sandbox for Tour {
controls = controls.push(
button(next_button, "Next")
.on_press(Message::NextPressed)
- .style(&style::Button::Primary),
+ .style(style::Button::Primary),
);
}