Commit bd994203 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fix fullscreen volume slider knob alignment

parent 4caa39f0
...@@ -442,7 +442,7 @@ ...@@ -442,7 +442,7 @@
/* volume slider */ /* volume slider */
s_rc = [self frame]; s_rc = [self frame];
s_rc.origin.x = 26; s_rc.origin.x = 26;
s_rc.origin.y = 20; s_rc.origin.y = 21;
s_rc.size.width = 95; s_rc.size.width = 95;
s_rc.size.height = 10; s_rc.size.height = 10;
o_fs_volumeSlider = [[VLCFSVolumeSlider alloc] initWithFrame: s_rc]; o_fs_volumeSlider = [[VLCFSVolumeSlider alloc] initWithFrame: s_rc];
...@@ -723,7 +723,7 @@ ...@@ -723,7 +723,7 @@
[[NSGraphicsContext currentContext] restoreGraphicsState]; [[NSGraphicsContext currentContext] restoreGraphicsState];
NSRect knobRect = [[self cell] knobRectFlipped:NO]; NSRect knobRect = [[self cell] knobRectFlipped:NO];
knobRect.origin.y+=6; knobRect.origin.y+=7.5;
[[[NSColor blackColor] colorWithAlphaComponent:0.6] set]; [[[NSColor blackColor] colorWithAlphaComponent:0.6] set];
[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