config: Add merging for Gestures

This commit is contained in:
Ivan Molodetskikh
2025-09-30 09:01:44 +03:00
parent 2de34e8798
commit 2eabc22b38
5 changed files with 75 additions and 36 deletions
+1 -1
View File
@@ -3045,7 +3045,7 @@ impl<W: LayoutElement> ScrollingSpace<W> {
let time_delta = now.saturating_sub(last_time).as_secs_f64();
let delta = delta * time_delta * config.max_speed.0;
let delta = delta * time_delta * config.max_speed;
gesture.tracker.push(delta, now);