Skip to content

Commit

Permalink
Merge pull request PageMenu#98 from takashisite/master
Browse files Browse the repository at this point in the history
Fix bug with height when first controller is loaded (Obj-C)
  • Loading branch information
fahlout committed Jan 25, 2016
2 parents b0af861 + 37fc7bb commit 2ceab77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Obj-C Classes/CAPSPageMenu.m
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ - (void)setUpUserInterface
_controllerScrollView.alwaysBounceHorizontal = _enableHorizontalBounce;
_controllerScrollView.bounces = _enableHorizontalBounce;

_controllerScrollView.frame = CGRectMake(0.0, _menuHeight, self.view.frame.size.width, self.view.frame.size.height - _menuHeight);
_controllerScrollView.frame = CGRectMake(0.0, _menuHeight, self.view.frame.size.width, self.view.frame.size.height);

[self.view addSubview:_controllerScrollView];

Expand Down

0 comments on commit 2ceab77

Please sign in to comment.