From 6fdf0323d57f9be4581a0738c713c44ff1755f9c Mon Sep 17 00:00:00 2001 From: hecrj Date: Tue, 15 Aug 2023 05:52:08 +0000 Subject: [PATCH] deploy: iced-rs/iced@f5b95629009ecde8c6f6388c8f33ec43d30d17d1 --- src/iced_core/rectangle.rs.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/iced_core/rectangle.rs.html b/src/iced_core/rectangle.rs.html index 6e2802d56f2..86a2e67754a 100644 --- a/src/iced_core/rectangle.rs.html +++ b/src/iced_core/rectangle.rs.html @@ -288,9 +288,9 @@ /// Returns true if the given [`Point`] is contained in the [`Rectangle`]. pub fn contains(&self, point: Point) -> bool { self.x <= point.x - && point.x <= self.x + self.width + && point.x < self.x + self.width && self.y <= point.y - && point.y <= self.y + self.height + && point.y < self.y + self.height } /// Returns true if the current [`Rectangle`] is completely within the given