зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1063138 - Don't forward move events from the GEL to the APZC when two fingers are down but the pinch hasn't been activated. r=botond
This commit is contained in:
Родитель
282f0f98b2
Коммит
cfd776f2f8
|
@ -255,6 +255,10 @@ nsEventStatus GestureEventListener::HandleInputTouchMove()
|
|||
mLastTouchInput.modifiers);
|
||||
|
||||
rv = mAsyncPanZoomController->HandleGestureEvent(pinchEvent);
|
||||
} else {
|
||||
// Prevent APZC::OnTouchMove from processing a move event when two
|
||||
// touches are active
|
||||
rv = nsEventStatus_eConsumeNoDefault;
|
||||
}
|
||||
|
||||
mPreviousSpan = currentSpan;
|
||||
|
|
Загрузка…
Ссылка в новой задаче