Commit a478bd7d authored by Tobias's avatar Tobias Committed by Felix Paul Kühne

fix mini player visibility on iOS 7 fixes #14977

(cherry picked from commit 744692ee)
Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 8e94c1d1
......@@ -244,7 +244,7 @@ static inline void commonSetup(VLCPlayerDisplayController *self)
const BOOL activePlaybackSession = playbackController.activePlaybackSession;
const BOOL miniPlayerVisible = miniPlaybackView.visible;
const CGRect viewRect = self.view.frame;
const CGRect viewRect = self.view.bounds;
const CGFloat miniPlayerHeight = 60.;
const CGRect miniPlayerFrameIn = CGRectMake(0., viewRect.size.height-miniPlayerHeight, viewRect.size.width, miniPlayerHeight);
const CGRect miniPlayerFrameOut = CGRectMake(0., viewRect.size.height, viewRect.size.width, miniPlayerHeight);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment