diff options
Diffstat (limited to 'graphics/src/widget/text.rs')
-rw-r--r-- | graphics/src/widget/text.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/widget/text.rs b/graphics/src/widget/text.rs index c235f254..645c8414 100644 --- a/graphics/src/widget/text.rs +++ b/graphics/src/widget/text.rs @@ -43,7 +43,7 @@ where bounds: Size, point: Point, nearest_only: bool, - ) -> text::Hit { + ) -> Option<text::Hit> { self.backend().hit_test( content, size, |