From 9aef6c9feed2e3b58b333834b30c99bf7a39f7ab Mon Sep 17 00:00:00 2001 From: Felix Rech Date: Fri, 25 Jun 2021 18:51:46 +0100 Subject: [PATCH] Disable Clippy warning --- src/rust/ensogl/lib/components/src/scrollbar.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rust/ensogl/lib/components/src/scrollbar.rs b/src/rust/ensogl/lib/components/src/scrollbar.rs index ebac55e97a..4d7048cd8b 100644 --- a/src/rust/ensogl/lib/components/src/scrollbar.rs +++ b/src/rust/ensogl/lib/components/src/scrollbar.rs @@ -86,6 +86,7 @@ impl Frp { } else if recently_active || dragging { 1.0 } else { + #[allow(clippy::collapsible_else_if)] if cursor_distance <= 0.0 { 1.0 } else {