mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01: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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if let InputEvent::Touch(event) = event {
|
||||||
|
self.on_touch_event(event);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if self.convert_mouse_to_touch {
|
if self.convert_mouse_to_touch {
|
||||||
match event {
|
match event {
|
||||||
InputEvent::MouseButton(event) => {
|
InputEvent::MouseButton(event) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue