Permalink
Browse files

Set KGNoiseView's default contentMode to UIViewContentModeRedraw

Per UIViewContentModeRedraw: "Redisplays the view when the bounds
change"
  • Loading branch information...
1 parent 38e5f23 commit b1989469af26b7577116f4ecfd9784b07dedbd18 @danielamitay danielamitay committed Apr 6, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 KGNoise.m
View
@@ -208,6 +208,7 @@ - (id)initWithCoder:(NSCoder *)aDecoder{
- (void)setup{
#if TARGET_OS_IPHONE
self.backgroundColor = [UIColor grayColor];
+ self.contentMode = UIViewContentModeRedraw;
#else
self.backgroundColor = [NSColor grayColor];
#endif

0 comments on commit b198946

Please sign in to comment.