Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
setchi committed Dec 13, 2019
1 parent 020cbab commit ac830a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ void IScrollHandler.OnScroll(PointerEventData eventData)
var position = currentPosition + scrollDelta / ViewportSize * scrollSensitivity;
if (movementType == MovementType.Clamped)
{
position += CalculateOffset(position - currentPosition);
position += CalculateOffset(position);
}

if (autoScrollState.Enable)
Expand Down

0 comments on commit ac830a7

Please sign in to comment.