Skip to content

Commit ce30449

Browse files
committed
fix: responsive overlay is_over
1 parent 9965628 commit ce30449

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

lazy/src/responsive.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,4 +415,14 @@ where
415415
})
416416
.unwrap_or(iced_native::event::Status::Ignored)
417417
}
418+
419+
fn is_over(&self, layout: Layout<'_>, cursor_position: Point) -> bool {
420+
self.with_overlay_maybe(|overlay| {
421+
overlay.is_over(
422+
layout,
423+
cursor_position,
424+
)
425+
})
426+
.unwrap_or_default()
427+
}
418428
}

0 commit comments

Comments
 (0)