diff options
Diffstat (limited to 'examples/toast/src')
| -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)) | 
