Commit eda2b348 authored by Marvin Scholz's avatar 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.
parent 88b04092
......@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment