code: Fix clippy warnings
This commit is contained in:
parent
70e18de073
commit
2adefc5241
5 changed files with 10 additions and 10 deletions
|
|
@ -257,7 +257,7 @@ mod imp {
|
|||
corner,
|
||||
initial_selection: crop_area,
|
||||
}));
|
||||
} else if hovered_widget.map_or(false, |x| x == *imp.selection) {
|
||||
} else if hovered_widget.is_some_and(|x| x == *imp.selection) {
|
||||
gesture.set_state(gtk::EventSequenceState::Claimed);
|
||||
|
||||
let crop_area = imp.crop_area();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue