mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Don't overscroll during a fling unless overscrolling is enabled. (bug 1099442, r=botond)
This commit is contained in:
parent
d2968dd66e
commit
2182b4bcd7
@ -2011,7 +2011,7 @@ void AsyncPanZoomController::HandleFlingOverscroll(const ParentLayerPoint& aVelo
|
||||
true /* handoff */))) {
|
||||
// No one wanted the fling, so we "take it" ourselves by entering an
|
||||
// overscroll animation starting with the fling's velocity.
|
||||
if (IsPannable()) {
|
||||
if (IsPannable() && gfxPrefs::APZOverscrollEnabled()) {
|
||||
StartOverscrollAnimation(aVelocity);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user