mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Fixed the crash issue when the openharmony web component is adapted. (#36229)
Signed-off-by: kongbai1996 <1782765876@qq.com>
This commit is contained in:
parent
ee95ef53fb
commit
272da2981d
1 changed files with 2 additions and 1 deletions
|
@ -378,7 +378,8 @@ impl TouchHandler {
|
||||||
{
|
{
|
||||||
Some(i) => i,
|
Some(i) => i,
|
||||||
None => {
|
None => {
|
||||||
unreachable!("Got a touchmove event for a non-active touch point");
|
error!("Got a touchmove event for a non-active touch point");
|
||||||
|
return TouchMoveAction::NoAction;
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
let old_point = touch_sequence.active_touch_points[idx].point;
|
let old_point = touch_sequence.active_touch_points[idx].point;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue