Acceleration now defaults to 1.0
This commit is contained in:
parent
77d8a5d6ad
commit
568f9cf763
1 changed files with 2 additions and 2 deletions
|
@ -233,7 +233,7 @@ impl EventReader {
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.settings
|
.settings
|
||||||
.get("CURSOR_ACCEL")
|
.get("CURSOR_ACCEL")
|
||||||
.unwrap_or(&"0".to_string())
|
.unwrap_or(&"1".to_string())
|
||||||
.parse()
|
.parse()
|
||||||
.expect("Invalid value for CURSOR_ACCEL, please use an float value between 0 and 1.");
|
.expect("Invalid value for CURSOR_ACCEL, please use an float value between 0 and 1.");
|
||||||
|
|
||||||
|
@ -253,7 +253,7 @@ impl EventReader {
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.settings
|
.settings
|
||||||
.get("SCROLL_ACCEL")
|
.get("SCROLL_ACCEL")
|
||||||
.unwrap_or(&"0".to_string())
|
.unwrap_or(&"1".to_string())
|
||||||
.parse()
|
.parse()
|
||||||
.expect("Invalid value for SCROLL_ACCEL, please use a float value between 0 and 1.");
|
.expect("Invalid value for SCROLL_ACCEL, please use a float value between 0 and 1.");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue