Skip to content
This repository has been archived by the owner on Jan 14, 2018. It is now read-only.

Commit

Permalink
Allow under views to modify their frame. fixes #78
Browse files Browse the repository at this point in the history
  • Loading branch information
enriquez committed Jan 24, 2013
1 parent ef3574b commit f866037
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -504,8 +504,8 @@ - (void)underLeftWillAppear
[[NSNotificationCenter defaultCenter] postNotificationName:ECSlidingViewUnderLeftWillAppear object:self userInfo:nil];
});
[self.underRightView removeFromSuperview];
[self.view insertSubview:self.underLeftView belowSubview:self.topView];
[self updateUnderLeftLayout];
[self.view insertSubview:self.underLeftView belowSubview:self.topView];
_underLeftShowing = YES;
_underRightShowing = NO;
}
Expand All @@ -516,8 +516,8 @@ - (void)underRightWillAppear
[[NSNotificationCenter defaultCenter] postNotificationName:ECSlidingViewUnderRightWillAppear object:self userInfo:nil];
});
[self.underLeftView removeFromSuperview];
[self.view insertSubview:self.underRightView belowSubview:self.topView];
[self updateUnderRightLayout];
[self.view insertSubview:self.underRightView belowSubview:self.topView];
_underLeftShowing = NO;
_underRightShowing = YES;
}
Expand Down

0 comments on commit f866037

Please sign in to comment.