diff options
author | 2023-06-14 20:32:45 +0200 | |
---|---|---|
committer | 2023-06-14 20:32:45 +0200 | |
commit | 267dbf34e94bbdfe99de857aea5930f1fcac7aec (patch) | |
tree | 4a95386401a0dd87f5f87c0695a40c58a372ecb2 /examples/toast | |
parent | 329fbc7b2157b84183849b2e0f600eb039435aed (diff) | |
parent | 9803b276ad087846dfc3bb349113c5799ce00141 (diff) | |
download | iced-267dbf34e94bbdfe99de857aea5930f1fcac7aec.tar.gz iced-267dbf34e94bbdfe99de857aea5930f1fcac7aec.tar.bz2 iced-267dbf34e94bbdfe99de857aea5930f1fcac7aec.zip |
Merge pull request #1719 from tarkah/feat/nested-overlay
Nested overlays
Diffstat (limited to 'examples/toast')
-rw-r--r-- | examples/toast/src/main.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/toast/src/main.rs b/examples/toast/src/main.rs index 395cbc10..4282ddcf 100644 --- a/examples/toast/src/main.rs +++ b/examples/toast/src/main.rs @@ -650,7 +650,12 @@ mod toast { .unwrap_or_default() } - fn is_over(&self, layout: Layout<'_>, cursor_position: Point) -> bool { + fn is_over( + &self, + layout: Layout<'_>, + _renderer: &Renderer, + cursor_position: Point, + ) -> bool { layout .children() .any(|layout| layout.bounds().contains(cursor_position)) |