Fixed issue with page events not being raised when inertia was disabled (velocity was always zero)
parent
6350f72e80
commit
1f6f7a8df2
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue