We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e522b8 commit 97b1f57Copy full SHA for 97b1f57
1 file changed
packages/blitz-dom/src/events/mouse.rs
@@ -349,8 +349,8 @@ pub(crate) fn handle_mouseup<F: FnMut(DomEvent)>(
349
let fling = FlingState {
350
target: state.target,
351
last_seen_time: time_ms as f64,
352
- x_velocity: x_velocity as f64, // * 16.6666,
353
- y_velocity: y_velocity as f64, // * 16.6666,
+ x_velocity: x_velocity as f64 * 2.0,
+ y_velocity: y_velocity as f64 * 2.0,
354
};
355
356
doc.scroll_animation = ScrollAnimationState::Fling(fling);
0 commit comments