Fixed issue with page events not being raised when inertia was disabled (velocity was always zero)

pull/413/head
Simon (darkside) Jackson 2020-09-28 23:59:47 +01:00
parent 6350f72e80
commit 1f6f7a8df2
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ namespace UnityEngine.UI.Extensions
{ {
updated = false; updated = false;
if (!_lerp && _scroll_rect.velocity == Vector2.zero) if (!_lerp && (_scroll_rect.velocity == Vector2.zero && _scroll_rect.inertia))
{ {
if (!_settled && !_pointerDown) if (!_settled && !_pointerDown)
{ {