Bug 751479 - Guard against the scale gesture detector receiving move events without corresponding down events. r=Cwiiis

This commit is contained in:
Kartikaya Gupta 2012-05-03 22:24:05 -04:00
parent 6c0b5b116e
commit 802a8d64dd

View File

@ -852,7 +852,7 @@ public class PanZoomController
if (GeckoApp.mDOMFullScreen)
return false;
if (mState == PanZoomState.ANIMATED_ZOOM)
if (mState != PanZoomState.PINCHING)
return false;
float prevSpan = detector.getPreviousSpan();