mirror of
https://github.com/JakeStanger/ironbar.git
synced 2024-11-22 05:34:35 +03:00
Merge pull request #758 from JakeStanger/fix/trackpad-scroll
fix: `on_scroll` events broken on touchpad
This commit is contained in:
commit
3b3d86b812
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user