Skip to content

Commit 6325287

Browse files
committedSep 22, 2015
Update current page position on layout change
1 parent 899e161 commit 6325287

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎PageControl/PageControl.swift

+2
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ extension PageControl {
188188
pageIndicatorMaskingView.frame = bounds
189189
currentPageIndicatorContainerView.frame = bounds
190190

191+
updateCurrentPageDisplayWithAnimation(false)
192+
191193
for (index, view) in pageIndicatorContainerView.subviews.enumerate() {
192194
view.frame = frameForPageIndicator(CGFloat(index), forNumberOfPages: numberOfPages)
193195
}

0 commit comments

Comments
 (0)
Please sign in to comment.