Make Iris layout dependencies explicit
This commit is contained in:
1 parent
e5fee03da8
commit
4bc23172fd
28 files changed
+679
-227
No files matched your search
@@ -445,7 +445,7 @@ where
|
||||
// The wheel handler here is identical to the helper's; only the drag
|
||||
// differs, and it arrives through `Selection::drag`, which hands
|
||||
// committed pans and releases to this same span.
|
||||
list.on(CursorSense::Scroll, |ctx, rsc| {
|
||||
list.on(CursorSense::Scroll(Axis::Y), |ctx, rsc| {
|
||||
let delta = ctx.data.scroll_delta.y * 50.0;
|
||||
ctx.widget(rsc).scroll(delta);
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user