Commit 748e7339 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: resize the retina bitmaps for the progressions knobs so AppKit doesn't do stupid things

This prevents the knob to be blurred in the bright interface style because the retina bitmap wasn't twice as large as the regular one
parent 2ad2e671
...@@ -499,8 +499,7 @@ void _drawFrameInRect(NSRect frameRect) ...@@ -499,8 +499,7 @@ void _drawFrameInRect(NSRect frameRect)
[[NSGraphicsContext currentContext] restoreGraphicsState]; [[NSGraphicsContext currentContext] restoreGraphicsState];
NSRect knobRect = [[self cell] knobRectFlipped:NO]; NSRect knobRect = [[self cell] knobRectFlipped:NO];
if (b_dark) knobRect.origin.y+=1;
knobRect.origin.y+=2;
[self drawKnobInRect: knobRect]; [self drawKnobInRect: knobRect];
} }
......
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