Skip to content

Commit

Permalink
When the bounds of the page control change, it needs to be redrawn to…
Browse files Browse the repository at this point in the history
… avoid stretching or compressing the indicators.
  • Loading branch information
idpaterson committed Oct 16, 2013
1 parent b89f54b commit 7537f0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SMPageControl.m
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ - (void)_initialize
self.isAccessibilityElement = YES;
self.accessibilityTraits = UIAccessibilityTraitUpdatesFrequently;
self.accessibilityPageControl = [[UIPageControl alloc] init];
self.contentMode = UIViewContentModeRedraw;
}

- (id)initWithFrame:(CGRect)frame
Expand Down

0 comments on commit 7537f0e

Please sign in to comment.