File tree Expand file tree Collapse file tree 1 file changed +8
-14
lines changed
Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -2410,20 +2410,14 @@ - (void)setNowPlayingSizeIPhone:(CGSize)viewSize {
24102410 CGFloat reservedHeight = [Utilities getBottomPadding ] + topBarHeight + CGRectGetHeight (playlistToolbarView.frame );
24112411
24122412 // Set correct size for background image and views
2413- CGRect frame = transitionView.frame ;
2414- frame.size .height = GET_MAINSCREEN_HEIGHT;
2415- frame.origin .y = -topBarHeight;
2416- transitionView.frame = frame;
2417-
2418- frame = nowPlayingView.frame ;
2419- frame.size .height = GET_MAINSCREEN_HEIGHT - reservedHeight;
2420- frame.origin .y = topBarHeight;
2421- nowPlayingView.frame = frame;
2422-
2423- frame = playlistView.frame ;
2424- frame.size .height = GET_MAINSCREEN_HEIGHT - reservedHeight;
2425- frame.origin .y = topBarHeight;
2426- playlistView.frame = frame;
2413+ [transitionView setY: -topBarHeight];
2414+ [transitionView setHeight: GET_MAINSCREEN_HEIGHT];
2415+
2416+ [nowPlayingView setY: topBarHeight];
2417+ [nowPlayingView setHeight: GET_MAINSCREEN_HEIGHT - reservedHeight];
2418+
2419+ [playlistView setY: topBarHeight];
2420+ [playlistView setHeight: GET_MAINSCREEN_HEIGHT - reservedHeight];
24272421
24282422 CGFloat newWidth = floor (BOTTOMVIEW_WIDTH * scale);
24292423 CGFloat newHeight = floor (BOTTOMVIEW_HEIGHT * scale);
You can’t perform that action at this time.
0 commit comments