[vlc-commits] macosx: Correct VLCHUDSliderCell knob rect
Marvin Scholz
git at videolan.org
Mon Dec 5 13:36:48 CET 2016
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Mon Dec 5 13:36:16 2016 +0100| [eda2b348f77ceb878036ebae41b231033828f362] | committer: Marvin Scholz
macosx: Correct VLCHUDSliderCell knob rect
Correct a visual issue where the VLCHUDSliderCell
knob would be clipped as the rect is clipped on the left for
unknown reason.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eda2b348f77ceb878036ebae41b231033828f362
---
modules/gui/macosx/VLCHUDSliderCell.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/macosx/VLCHUDSliderCell.m b/modules/gui/macosx/VLCHUDSliderCell.m
index 06a11e6..688f96e 100644
--- a/modules/gui/macosx/VLCHUDSliderCell.m
+++ b/modules/gui/macosx/VLCHUDSliderCell.m
@@ -57,7 +57,7 @@ NSAffineTransform* RotationTransform(const CGFloat angle, const NSPoint point)
{
NSBezierPath *path = [NSBezierPath bezierPath];
// Inset rect to have enough room for the stroke
- smallRect = NSInsetRect(smallRect, 0.5, 0.5);
+ smallRect = NSInsetRect(smallRect, 1.0, 1.0);
// Get min/max/mid coords for shape calculations
CGFloat minX = NSMinX(smallRect);
More information about the vlc-commits
mailing list