mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-16 14:21:03 +02:00
Merge pull request #758 from JakeStanger/fix/trackpad-scroll
fix: `on_scroll` events broken on touchpad
This commit is contained in:
commit
3b3d86b812
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue