Skip to content

Commit

Permalink
Forgot to update some comments and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
maurges committed Jun 18, 2022
1 parent 20879ea commit 0ccf49a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down
2 changes: 0 additions & 2 deletions src/gesture_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ impl<T: Iterator<Item = InputEvent>> EventAdapter<T> {
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
}
Expand Down

0 comments on commit 0ccf49a

Please sign in to comment.