Skip to content

Commit

Permalink
lay out indicators out to their initial position when new insets are …
Browse files Browse the repository at this point in the history
…set from code
  • Loading branch information
janek committed Jun 13, 2018
1 parent f54f0b1 commit 0d3abd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/UIScrollView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ open class UIScrollView: UIView {
left: initialScrollIndicatorInsets.left + additionalScrollIndicatorInsets.left,
bottom: initialScrollIndicatorInsets.bottom + additionalScrollIndicatorInsets.bottom,
right: initialScrollIndicatorInsets.right + additionalScrollIndicatorInsets.right)
layoutScrollIndicatorsIfNeeded()
}
}

Expand Down

0 comments on commit 0d3abd7

Please sign in to comment.