From 0ccf49aade96f86126cafd416e9ae648bf070e74 Mon Sep 17 00:00:00 2001 From: d86leader Date: Sat, 18 Jun 2022 15:31:33 +0200 Subject: [PATCH] Forgot to update some comments and docs --- src/config.rs | 2 +- src/gesture_event.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/config.rs b/src/config.rs index c269e31..87d92ca 100644 --- a/src/config.rs +++ b/src/config.rs @@ -21,7 +21,7 @@ pub struct Config { #[serde(default = "default_pinch")] pinch_distance: f64, - /// Scale to achieve to trigger. Default: 1.4 + /// Spin to achieve to trigger. Default: 60 #[serde(default = "default_rotation")] rotation_distance: f64, diff --git a/src/gesture_event.rs b/src/gesture_event.rs index 743aba9..8c7ea16 100644 --- a/src/gesture_event.rs +++ b/src/gesture_event.rs @@ -102,8 +102,6 @@ impl> EventAdapter { ts.retain(|i| trigger_dirs.contains(&self.triggers[*i].direction())) }); } - // should do the same thing for pinches? - // should certainly do the same thing for rotations. } inds }