mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Return correct result
This commit is contained in:
parent
4e096d5443
commit
7fe9e82348
@ -63,9 +63,11 @@ impl InputController {
|
||||
},
|
||||
..
|
||||
} => {
|
||||
self.shift_handler.process_key_press(*key, *state);
|
||||
self.tilt_handler.process_key_press(*key, *state);
|
||||
true
|
||||
if self.shift_handler.process_key_press(*key, *state) {
|
||||
self.tilt_handler.process_key_press(*key, *state)
|
||||
} else {
|
||||
false
|
||||
}
|
||||
}
|
||||
WindowEvent::Touch(touch) => match touch.phase {
|
||||
TouchPhase::Started => self.pan_handler.process_touch_start(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user