vlc | branch: master | Marvin Scholz <[email protected]> | Tue Aug 15 22:38:08 2017 +0200| [7eafcad082d164125b300b24182cb4b4a870d487] | committer: Marvin Scholz
macosx: Align slider with backing rect > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7eafcad082d164125b300b24182cb4b4a870d487 --- modules/gui/macosx/VLCSliderCell.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/gui/macosx/VLCSliderCell.m b/modules/gui/macosx/VLCSliderCell.m index 51cee0e653..d475b0b47a 100644 --- a/modules/gui/macosx/VLCSliderCell.m +++ b/modules/gui/macosx/VLCSliderCell.m @@ -217,6 +217,8 @@ static CVReturn DisplayLinkCallback(CVDisplayLinkRef displayLink, const CVTimeSt // Inset rect rect = NSInsetRect(rect, 1.0, 1.0); + rect = [[self controlView] backingAlignedRect:rect options:NSAlignAllEdgesNearest]; + // Empty Track Drawing NSBezierPath* emptyTrackPath = [NSBezierPath bezierPathWithRoundedRect:rect xRadius:3 yRadius:3]; [_trackGradient drawInBezierPath:emptyTrackPath angle:-90]; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
