summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--native/src/widget/scrollable.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/native/src/widget/scrollable.rs b/native/src/widget/scrollable.rs
index 2f5a4820..eb1722ed 100644
--- a/native/src/widget/scrollable.rs
+++ b/native/src/widget/scrollable.rs
@@ -222,20 +222,6 @@ where
}) => {
self.state.scroller_grabbed_at = None;
}
- Event::Mouse(mouse::Event::Input {
- button: mouse::Button::Left,
- state: ButtonState::Pressed,
- })
- | Event::Touch(Touch {
- phase: touch::Phase::Started,
- ..
- }) => {
- self.state.scroll_to(
- cursor_position.y / (bounds.y + bounds.height),
- bounds,
- content_bounds,
- );
- }
Event::Mouse(mouse::Event::CursorMoved { .. })
| Event::Touch(Touch {
phase: touch::Phase::Moved,