summaryrefslogtreecommitdiffstats
path: root/examples/toast
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-11-21 18:55:53 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-11-21 18:55:53 +0100
commit89e3de7c08dc07eefbcc2617f0da63282aa1c8ef (patch)
treee03bf161d97acedd71152a5c34cb0f5c9e32ed4c /examples/toast
parenta1439071d691be8096ce956df90d1553fe5b3694 (diff)
downloadiced-89e3de7c08dc07eefbcc2617f0da63282aa1c8ef.tar.gz
iced-89e3de7c08dc07eefbcc2617f0da63282aa1c8ef.tar.bz2
iced-89e3de7c08dc07eefbcc2617f0da63282aa1c8ef.zip
Fix `modal` and `toast` examples
Diffstat (limited to 'examples/toast')
-rw-r--r--examples/toast/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/toast/src/main.rs b/examples/toast/src/main.rs
index 5b089e8a..934049d5 100644
--- a/examples/toast/src/main.rs
+++ b/examples/toast/src/main.rs
@@ -511,6 +511,7 @@ mod toast {
renderer: &Renderer,
bounds: Size,
position: Point,
+ _translation: Vector,
) -> layout::Node {
let limits = layout::Limits::new(Size::ZERO, bounds)
.width(Length::Fill)