From d87888d173b2737bc5a3ae5ff4ae192cca2a87c7 Mon Sep 17 00:00:00 2001 From: Jake Stanger Date: Mon, 4 Nov 2024 13:05:18 +0000 Subject: [PATCH] fix: `on_scroll` events broken on touchpad Fixes #652 --- src/modules/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/mod.rs b/src/modules/mod.rs index e4ae509..ae39683 100644 --- a/src/modules/mod.rs +++ b/src/modules/mod.rs @@ -571,7 +571,7 @@ pub fn wrap_widget>( let container = EventBox::new(); container.add_class("widget-container"); - container.add_events(EventMask::SCROLL_MASK); + container.add_events(EventMask::SCROLL_MASK | EventMask::SMOOTH_SCROLL_MASK); container.add(&revealer); common.install_events(&container, &revealer);