summaryrefslogtreecommitdiffstats
path: root/native/src/overlay/element.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-01-24 01:59:34 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-01-24 01:59:34 +0100
commit01c484245be54c1aeb6605659fb0f222856c28da (patch)
treee9b101cb188d03b6473324e293efb75a3434f4bf /native/src/overlay/element.rs
parentbe860508a9deed1f4583e045790eb9ddd74d07d5 (diff)
downloadiced-01c484245be54c1aeb6605659fb0f222856c28da.tar.gz
iced-01c484245be54c1aeb6605659fb0f222856c28da.tar.bz2
iced-01c484245be54c1aeb6605659fb0f222856c28da.zip
Fix some minor documentation inconsistencies
Diffstat (limited to '')
-rw-r--r--native/src/overlay/element.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/overlay/element.rs b/native/src/overlay/element.rs
index edeb7dbf..bdf7766e 100644
--- a/native/src/overlay/element.rs
+++ b/native/src/overlay/element.rs
@@ -116,7 +116,7 @@ where
self.overlay.operate(layout, renderer, operation);
}
- /// Returns true if the cursor is over the [`Element`]
+ /// Returns true if the cursor is over the [`Element`].
pub fn is_over(&self, layout: Layout<'_>, cursor_position: Point) -> bool {
self.overlay.is_over(layout, cursor_position)
}