diff --git a/crates/emath/src/rect.rs b/crates/emath/src/rect.rs index c1a7f603..94422707 100644 --- a/crates/emath/src/rect.rs +++ b/crates/emath/src/rect.rs @@ -628,7 +628,7 @@ impl Rect { tmax = tmax.min(ty1.max(ty2)); } - tmin <= tmax + 0.0 <= tmin && tmin <= tmax } }