[vlc-commits] macosx: fix position slider appearance (closes #20697)

Felix Paul Kühne git at videolan.org
Wed Jun 27 21:51:36 CEST 2018


vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Wed Jun 27 21:51:08 2018 +0200| [4ceeedbbfc5675a221a09cfb1a380966b8f29234] | committer: Felix Paul Kühne

macosx: fix position slider appearance (closes #20697)

This fixes a regression introduced in a6e1e1b01c

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

 modules/gui/macosx/VLCSliderCell.m | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/gui/macosx/VLCSliderCell.m b/modules/gui/macosx/VLCSliderCell.m
index 9543b842de..69a0d65ed2 100644
--- a/modules/gui/macosx/VLCSliderCell.m
+++ b/modules/gui/macosx/VLCSliderCell.m
@@ -203,6 +203,11 @@ static CVReturn DisplayLinkCallback(CVDisplayLinkRef displayLink, const CVTimeSt
     [NSGraphicsContext restoreGraphicsState];
 }
 
+- (NSRect)barRectFlipped:(BOOL)flipped
+{
+    return [[self controlView] bounds];
+}
+
 - (void)drawBarInside:(NSRect)rect flipped:(BOOL)flipped
 {
     // Inset rect



More information about the vlc-commits mailing list