[vlc-commits] macosx: Remove VLCSliderCell filled track inset

Marvin Scholz git at videolan.org
Thu Jul 20 01:37:06 CEST 2017


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Thu Jul 20 00:46:11 2017 +0200| [59e4e62271b3884f4ea41d20d74f890106280e9a] | committer: Marvin Scholz

macosx: Remove VLCSliderCell filled track inset

There was no inset in the image-based look.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=59e4e62271b3884f4ea41d20d74f890106280e9a
---

 modules/gui/macosx/VLCSliderCell.m | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/gui/macosx/VLCSliderCell.m b/modules/gui/macosx/VLCSliderCell.m
index 8333c5aed7..24ea29b4bf 100644
--- a/modules/gui/macosx/VLCSliderCell.m
+++ b/modules/gui/macosx/VLCSliderCell.m
@@ -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];
 



More information about the vlc-commits mailing list