adjust scroll speed on analog sticks
This commit is contained in:
@@ -130,8 +130,8 @@ impl InteractionHandler for ScreenInteractionHandler {
|
|||||||
if self.next_scroll > Instant::now() {
|
if self.next_scroll > Instant::now() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let max_millis = if matches!(hit.mode, PointerMode::Right) {
|
let max_millis = if matches!(hit.mode, PointerMode::Left) {
|
||||||
50.0
|
200.0
|
||||||
} else {
|
} else {
|
||||||
100.0
|
100.0
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user