Browse Source

playback: fix toolbar dimensions on iOS 7

Felix Paul Kühne 11 years ago
parent
commit
c46a03a55c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Sources/VLCMovieViewController.m

+ 4 - 0
Sources/VLCMovieViewController.m

@@ -236,6 +236,10 @@
         rect = self.resetVideoFilterButton.frame;
         rect.origin.y = rect.origin.y + 5.;
         self.resetVideoFilterButton.frame = rect;
+        rect = self.toolbar.frame;
+        rect.size.height = rect.size.height + rect.origin.y;
+        rect.origin.y = 0;
+        self.toolbar.frame = rect;
     } else {
         [self.aspectRatioButton setBackgroundImage:[UIImage imageNamed:@"ratioButton"] forState:UIControlStateNormal];
         [self.aspectRatioButton setBackgroundImage:[UIImage imageNamed:@"ratioButtonHighlight"] forState:UIControlStateHighlighted];