Explorar el Código

mini player: minor UI tweak

Felix Paul Kühne hace 10 años
padre
commit
c059a94bf0
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      Sources/VLCMiniPlaybackView.m

+ 2 - 1
Sources/VLCMiniPlaybackView.m

@@ -78,7 +78,7 @@
     [self addSubview:_previousButton];
 
     CGFloat artworkViewWidth = _artworkView.frame.size.width;
-    _metaDataLabel = [[UILabel alloc] initWithFrame:CGRectMake(artworkViewWidth + 10., 0., previousRect.origin.x - artworkViewWidth, viewFrame.size.height)];
+    _metaDataLabel = [[UILabel alloc] initWithFrame:CGRectMake(artworkViewWidth + 10., 0., previousRect.origin.x - artworkViewWidth - 10., viewFrame.size.height)];
     _metaDataLabel.font = [UIFont systemFontOfSize:12.];
     _metaDataLabel.textColor = [UIColor VLCLightTextColor];
     _metaDataLabel.numberOfLines = 0;
@@ -147,6 +147,7 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
             _videoView = nil;
         }
     } else {
+        _artworkView.image = nil;
         if (_videoView) {
             [_videoView removeFromSuperview];
             _videoView = nil;