Fix unscaled scrolling when using an imprecise mouse wheel
This commit is contained in:
parent
3c53fcdb43
commit
8e6c5dbc3b
8 changed files with 83 additions and 28 deletions
|
@ -258,8 +258,8 @@ impl Element for List {
|
|||
state.0.borrow_mut().scroll(
|
||||
&scroll_top,
|
||||
height,
|
||||
e.platform_event.delta,
|
||||
e.platform_event.precise,
|
||||
*e.platform_event.delta.raw(),
|
||||
e.platform_event.delta.precise(),
|
||||
cx,
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue