summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widget/src/image/viewer.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/widget/src/image/viewer.rs b/widget/src/image/viewer.rs
index c04ddfa6..6e095667 100644
--- a/widget/src/image/viewer.rs
+++ b/widget/src/image/viewer.rs
@@ -154,7 +154,6 @@ where
match event {
Event::Mouse(mouse::Event::WheelScrolled { delta }) => {
- // Ensure the cursor is within the bounds of the widget
let Some(cursor_position) = cursor.position_over(bounds) else {
return event::Status::Ignored;
};