Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
romaonthego committed Jul 8, 2012
1 parent e0d1c1b commit 988a91f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/UIViewController+RECurtainViewController.m
Expand Up @@ -53,8 +53,7 @@ - (void)curtainRevealViewController:(UIViewController *)viewControllerToReveal t
leftCurtain.image = selfPortrait;
leftCurtain.clipsToBounds = YES;

CGRect rightFrame = CGRectMake(self.view.frame.size.width / 2, 0, self.view.frame.size.width / 2, self.view.frame.size.height);
UIImageView *rightCurtain = [[UIImageView alloc] initWithFrame:rightFrame];
UIImageView *rightCurtain = [[UIImageView alloc] initWithFrame:CGRectNull];
rightCurtain.image = selfPortrait;
rightCurtain.clipsToBounds = YES;

Expand Down

0 comments on commit 988a91f

Please sign in to comment.