소스 검색

playback: fix toolbar dimensions on iOS 7

Felix Paul Kühne 11 년 전
부모
커밋
c46a03a55c
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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];