From e1d301014529c4f5f7cc6732976cc5920dd2f784 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 10 Jul 2025 14:00:31 -0600 Subject: [PATCH] Watch for drag event while scrolling --- src/tab.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tab.rs b/src/tab.rs index 4a8238a..48bac2d 100644 --- a/src/tab.rs +++ b/src/tab.rs @@ -3575,9 +3575,9 @@ impl Tab { Message::Scroll(viewport) => { self.scroll_opt = Some(viewport.absolute_offset()); + self.watch_drag = true; } Message::ScrollTab(scroll_speed) => { - self.watch_drag = true; commands.push(Command::Iced( scrollable::scroll_by( self.scrollable_id.clone(),