macosx: Remove VLCSliderCell filled track inset
authorMarvin Scholz <epirat07@gmail.com>
Wed, 19 Jul 2017 22:46:11 +0000 (00:46 +0200)
committerMarvin Scholz <epirat07@gmail.com>
Wed, 19 Jul 2017 22:50:22 +0000 (00:50 +0200)
There was no inset in the image-based look.

modules/gui/macosx/VLCSliderCell.m

index 8333c5a..24ea29b 100644 (file)
@@ -190,8 +190,7 @@ static CVReturn DisplayLinkCallback(CVDisplayLinkRef displayLink, const CVTimeSt
 
     // Filled Track Drawing
     CGFloat filledTrackCornerRadius = 2;
-    NSRect filledTrackInnerRect = NSInsetRect(filledTrackRect, filledTrackCornerRadius, filledTrackCornerRadius);
-    NSBezierPath* filledTrackPath = [NSBezierPath bezierPathWithRoundedRect:filledTrackInnerRect
+    NSBezierPath* filledTrackPath = [NSBezierPath bezierPathWithRoundedRect:filledTrackRect
                                                                     xRadius:filledTrackCornerRadius
                                                                     yRadius:filledTrackCornerRadius];