Merge pull request #834 from Stoppedpuma/sensitivity_clamp_fix
Expand control center sensitivity clamp
This commit is contained in:
commit
0d4ee299d4
2 changed files with 2 additions and 2 deletions
|
|
@ -334,7 +334,7 @@ Accel Profile
|
|||
: Dropdown: Flat or Adaptive. Shown for devices with acceleration.
|
||||
|
||||
Accel Speed
|
||||
: Numeric input (0.0 to 1.0). Shown for devices with acceleration.
|
||||
: Numeric input (-1.0 to 1.0). Shown for devices with acceleration.
|
||||
|
||||
Click Method
|
||||
: Dropdown: none, button-areas, clickfinger. Shown for devices that support it.
|
||||
|
|
|
|||
|
|
@ -386,7 +386,7 @@ impl InputPane {
|
|||
});
|
||||
}
|
||||
if let Some(old) = dev.device.accel_speed() {
|
||||
drag_value(ui, "Accel Speed", old, 0.0..=1.0, 0.01, |v| {
|
||||
drag_value(ui, "Accel Speed", old, -1.0..=1.0, 0.01, |v| {
|
||||
dev.set_accel_speed(&self.state, v)
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue