зеркало из https://github.com/mozilla/gecko-dev.git
Bug 927027 - Don't keep untransformed touch points in the touch list. r=jimm,tabraldes
This commit is contained in:
Родитель
c34f3fcd03
Коммит
be9f32efa9
|
@ -178,7 +178,12 @@ namespace {
|
|||
{
|
||||
nsTArray<nsRefPtr<Touch> > *touches =
|
||||
static_cast<nsTArray<nsRefPtr<Touch> > *>(aTouchList);
|
||||
touches->AppendElement(aData);
|
||||
nsRefPtr<Touch> copy = new Touch(aData->mIdentifier,
|
||||
aData->mRefPoint,
|
||||
aData->mRadius,
|
||||
aData->mRotationAngle,
|
||||
aData->mForce);
|
||||
touches->AppendElement(copy);
|
||||
aData->mChanged = false;
|
||||
return PL_DHASH_NEXT;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче