summaryrefslogtreecommitdiffstats
path: root/examples/toast
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2023-11-21 19:03:49 +0100
committerLibravatar GitHub <noreply@github.com>2023-11-21 19:03:49 +0100
commit170db35891d7824f8140610bce20708deecb8a62 (patch)
treee03bf161d97acedd71152a5c34cb0f5c9e32ed4c /examples/toast
parent7dd32f3be43c72e11dac5e07918e9ad6d36b6555 (diff)
parent89e3de7c08dc07eefbcc2617f0da63282aa1c8ef (diff)
downloadiced-170db35891d7824f8140610bce20708deecb8a62.tar.gz
iced-170db35891d7824f8140610bce20708deecb8a62.tar.bz2
iced-170db35891d7824f8140610bce20708deecb8a62.zip
Merge pull request #2142 from iced-rs/fix/overlay-composition
Fix `Overlay` composition
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)