Skip to content

Commit

Permalink
a couple more minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lobianco committed Oct 9, 2013
1 parent 7059410 commit 7a8810c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ALMoviePlayerController/ALMoviePlayerControls.m
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ - (void)setup {
_playPauseButton = [[ALButton alloc] init];
[_playPauseButton setImage:[UIImage imageNamed:@"moviePause.png"] forState:UIControlStateNormal];
[_playPauseButton setImage:[UIImage imageNamed:@"moviePlay.png"] forState:UIControlStateSelected];
[_playPauseButton setSelected:YES];
[_playPauseButton addTarget:self action:@selector(playPausePressed:) forControlEvents:UIControlEventTouchUpInside];
_playPauseButton.delegate = self;
[_bottomBar addSubview:_playPauseButton];
Expand Down Expand Up @@ -599,7 +600,7 @@ - (void)layoutSubviews {
CGFloat barHeight = 50.f;
CGFloat sliderHeight = 34.f; //default height
CGFloat volumeHeight = 20.f;
CGFloat volumeWidth = 120.f;
CGFloat volumeWidth = isIpad() ? 210.f : 120.f;
CGFloat seekWidth = 36.f;
CGFloat seekHeight = 20.f;
CGFloat airplayWidth = 30.f;
Expand Down

0 comments on commit 7a8810c

Please sign in to comment.