fix: on_scroll events broken on touchpad

Fixes #652
This commit is contained in:
Jake Stanger 2024-11-04 13:05:18 +00:00
parent c7cf896164
commit d87888d173
No known key found for this signature in database
GPG Key ID: C51FC8F9CB0BEA61

View File

@ -571,7 +571,7 @@ pub fn wrap_widget<W: IsA<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);