Skip to content

Commit

Permalink
Remove unecessary early return. The event state was defined correctly…
Browse files Browse the repository at this point in the history
… when it was processed by the widget.
  • Loading branch information
LuisLiraC committed Mar 11, 2024
1 parent cb09540 commit f8a83c5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions widget/src/scrollable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -646,10 +646,6 @@ where
}
}

if let event::Status::Captured = event_status {
return event::Status::Captured;
}

event_status
}

Expand Down

0 comments on commit f8a83c5

Please sign in to comment.