зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1169690 - Accelerate flings correctly in the presence of overscroll handoff. r=kats
--HG-- extra : source : bcb4719f55c2840a88c99fa2f1019c2796514087
This commit is contained in:
Родитель
88ea47befb
Коммит
8e53da6b90
|
@ -1254,10 +1254,9 @@ APZCTreeManager::DispatchFling(AsyncPanZoomController* aPrev,
|
|||
|
||||
transformedVelocity = endPoint - startPoint;
|
||||
|
||||
bool handoff = (startIndex < 1) ? aHandoff : true;
|
||||
if (current->AttemptFling(transformedVelocity,
|
||||
aOverscrollHandoffChain,
|
||||
handoff)) {
|
||||
aHandoff)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче