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:
Kartikaya Gupta 2014-10-03 13:39:37 -04:00
Родитель 282f0f98b2
Коммит cfd776f2f8
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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;