Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaozilong1988 committed May 1, 2020
1 parent fd24555 commit 6a16381
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Assets/UIKit/UITableView/UITableView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ private void ResizeContent(int numberOfCells)

private void OnScrollPositionChanged(Vector2 normalizedPosition)
{
ReloadCells(normalizedPosition, false);
if (_holders.Count > 0)
ReloadCells(normalizedPosition, false);
}

private void ReloadCells(Vector2 normalizedPosition, bool alwaysRearrangeCell)
Expand Down

0 comments on commit 6a16381

Please sign in to comment.