Skip to content

Commit

Permalink
set CLCGImageView defaults: opaque to YES and clearsContextBeforeDraw…
Browse files Browse the repository at this point in the history
…ing to NO
  • Loading branch information
ettore committed Apr 28, 2015
1 parent 7202856 commit 041f762
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CLCGImageView.m
Expand Up @@ -53,6 +53,8 @@ -(id)initWithFrame:(CGRect)frame
if (self) {
[self setUserInteractionEnabled:YES];
[self setContentMode:UIViewContentModeScaleAspectFit];
[self setOpaque:YES];
[self setClearsContextBeforeDrawing:NO];
}
return self;
}
Expand Down

0 comments on commit 041f762

Please sign in to comment.