Skip to content

Commit 9965628

Browse files
committed
fix: component overlay is_over
1 parent 4044240 commit 9965628

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

lazy/src/component.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,4 +563,14 @@ where
563563

564564
event_status
565565
}
566+
567+
fn is_over(&self, layout: Layout<'_>, cursor_position: Point) -> bool {
568+
self.with_overlay_maybe(|overlay| {
569+
overlay.is_over(
570+
layout,
571+
cursor_position,
572+
)
573+
})
574+
.unwrap_or_default()
575+
}
566576
}

0 commit comments

Comments
 (0)