Bug 1193062 - Process pan gesture deltas in begin+end events. r=kats

We don't want to split native NSEvents into two PanGestureInput events.
This commit is contained in:
Markus Stange
2015-08-11 15:57:47 -04:00
parent 6f04976b36
commit 7aadbcf7ef
2 changed files with 28 additions and 5 deletions

View File

@@ -322,7 +322,7 @@ public:
PanGestureType mType;
ScreenPoint mPanStartPoint;
// Only non-zero if mType is PANGESTURE_PAN or PANGESTURE_MOMENTUMPAN.
// The delta. This can be non-zero on any type of event.
ScreenPoint mPanDisplacement;
// Versions of |mPanStartPoint| and |mPanDisplacement| in the local