mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Signed-off-by: kongbai1996 <1782765876@qq.com>
This commit is contained in:
parent
becd097585
commit
3a63622d6b
1 changed files with 5 additions and 0 deletions
|
@ -1357,6 +1357,11 @@ impl IOCompositor {
|
|||
return;
|
||||
}
|
||||
|
||||
if let InputEvent::Touch(event) = event {
|
||||
self.on_touch_event(event);
|
||||
return;
|
||||
}
|
||||
|
||||
if self.convert_mouse_to_touch {
|
||||
match event {
|
||||
InputEvent::MouseButton(event) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue