Pārlūkot izejas kodu

Library: draw position indicator in orange instead of gray

Felix Paul Kühne 12 gadi atpakaļ
vecāks
revīzija
08f04d9b21

+ 1 - 1
AspenProject/VLCLinearProgressIndicator.m

@@ -17,7 +17,7 @@
     self.backgroundColor = [UIColor clearColor];
     CGContextClearRect(UIGraphicsGetCurrentContext(), rect);
 
-    UIColor *drawingColor = [UIColor colorWithWhite:.67 alpha:.9];
+    UIColor *drawingColor = [UIColor colorWithRed:.792 green:.408 blue:.0 alpha:.9];
 
     UIBezierPath* bezierPath = [UIBezierPath bezierPath];
 

+ 1 - 1
AspenProject/VLCPlaylistTableViewCell.m

@@ -61,7 +61,7 @@
     self.thumbnailView.image = self.mediaObject.computedThumbnail;
     self.progressIndicator.progress = self.mediaObject.lastPosition.floatValue;
 
-    self.progressIndicator.hidden = (self.progressIndicator.progress < .1f || .95f) ? YES : NO;
+    self.progressIndicator.hidden = ((self.progressIndicator.progress < .1f) || (self.progressIndicator.progress > .95f)) ? YES : NO;
     self.mediaIsUnreadView.hidden = !self.mediaObject.unread.intValue;
 
     [self setNeedsDisplay];