mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
config: Add merging for Gestures
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user