Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge pull request #22 from IvanThomasFr/bug_fixed_cannot_tap_over_st…
Browse files Browse the repository at this point in the history
…atusBarView

Bug fixed : User cannot tap over the statusBarView view (needed when …
  • Loading branch information
Sébastien MICHOY committed Aug 6, 2015
2 parents eaf114d + 9ae15aa commit 48b8722
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MSSlidingPanelController/MSSlidingPanelController.m
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@ - (void)loadView
[self setStatusBarView:[[UIView alloc] initWithFrame:CGRectMake(0, 0, windowSize.width, 20)]];
[[self statusBarView] setBackgroundColor:[self centerViewStatusBarColor]];
[[self statusBarView] setAutoresizingMask:(UIViewAutoresizingFlexibleWidth)];
[self statusBarView].userInteractionEnabled = NO;

[self setCenterView:[[MSSlidingPanelCenterView alloc] initWithFrame:CGRectMake(0, 0, windowSize.width, windowSize.height)]];
[[self centerView] setSlidingPanelController:self];
Expand Down

0 comments on commit 48b8722

Please sign in to comment.