Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Commit

Permalink
Disable Clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
s9ferech committed Jun 25, 2021
1 parent 8f630bf commit 9aef6c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rust/ensogl/lib/components/src/scrollbar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9aef6c9

Please sign in to comment.