Skip to content

Commit

Permalink
Merge pull request #16 from idpaterson/pull-requests/redraw-on-bounds…
Browse files Browse the repository at this point in the history
…-change

Redraw on bounds change to avoid stretching the indicators
  • Loading branch information
jerryhjones committed Dec 9, 2013
2 parents b89f54b + 7537f0e commit f5382b5
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 f5382b5

Please sign in to comment.