fixes: various fixes and cleanup
This commit is contained in:
parent
b4346ff3ca
commit
c1edb81084
27 changed files with 676 additions and 1455 deletions
|
|
@ -1188,7 +1188,6 @@ where
|
|||
if delta.y.abs() < AUTOSCROLL_DEADZONE {
|
||||
delta.y = 0.0;
|
||||
}
|
||||
|
||||
if delta.x != 0.0 || delta.y != 0.0 {
|
||||
let time_delta =
|
||||
if let Some(last_frame) = last_frame {
|
||||
|
|
@ -2007,7 +2006,6 @@ fn notify_viewport<Message>(
|
|||
}
|
||||
|
||||
state.last_notified = Some(viewport);
|
||||
|
||||
if let Some(on_scroll) = on_scroll {
|
||||
shell.publish(on_scroll(viewport));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue