File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -179,6 +179,7 @@ - (void)setup {
179179 _playPauseButton = [[ALButton alloc ] init ];
180180 [_playPauseButton setImage: [UIImage imageNamed: @" moviePause.png" ] forState: UIControlStateNormal];
181181 [_playPauseButton setImage: [UIImage imageNamed: @" moviePlay.png" ] forState: UIControlStateSelected];
182+ [_playPauseButton setSelected: YES ];
182183 [_playPauseButton addTarget: self action: @selector (playPausePressed: ) forControlEvents: UIControlEventTouchUpInside];
183184 _playPauseButton.delegate = self;
184185 [_bottomBar addSubview: _playPauseButton];
@@ -599,7 +600,7 @@ - (void)layoutSubviews {
599600 CGFloat barHeight = 50 .f ;
600601 CGFloat sliderHeight = 34 .f ; // default height
601602 CGFloat volumeHeight = 20 .f ;
602- CGFloat volumeWidth = 120 .f ;
603+ CGFloat volumeWidth = isIpad () ? 210 . f : 120 .f ;
603604 CGFloat seekWidth = 36 .f ;
604605 CGFloat seekHeight = 20 .f ;
605606 CGFloat airplayWidth = 30 .f ;
You can’t perform that action at this time.
0 commit comments