mirror of https://github.com/wayvr-org/wayvr.git
adjust scroll speed on analog sticks
This commit is contained in:
parent
84b08b99f7
commit
009626704c
|
|
@ -130,8 +130,8 @@ impl InteractionHandler for ScreenInteractionHandler {
|
|||
if self.next_scroll > Instant::now() {
|
||||
return;
|
||||
}
|
||||
let max_millis = if matches!(hit.mode, PointerMode::Right) {
|
||||
50.0
|
||||
let max_millis = if matches!(hit.mode, PointerMode::Left) {
|
||||
200.0
|
||||
} else {
|
||||
100.0
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue