Bug 951290 - [B2G] [Browser] The first swipe after zooming has no effect. r=kats

This commit is contained in:
Vivien Nicolas 2013-12-19 01:12:47 +01:00
parent 7a724b22f1
commit 98328f91d5

View File

@ -778,7 +778,10 @@ nsEventStatus AsyncPanZoomController::OnScaleEnd(const PinchGestureInput& aEvent
SetState(PANNING);
mX.StartTouch(aEvent.mFocusPoint.x);
mY.StartTouch(aEvent.mFocusPoint.y);
} else {
SetState(NOTHING);
}
{
ReentrantMonitorAutoEnter lock(mMonitor);
ScheduleComposite();