[vlc-commits] [Git][videolan/vlc][master] macosx: Remove unused NSPoints in collection view supplementary detail view

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon May 11 13:09:14 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
f6986e8f by Claudio Cambra at 2026-05-11T12:00:37+00:00
macosx: Remove unused NSPoints in collection view supplementary detail view

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -


1 changed file:

- modules/gui/macosx/library/VLCLibraryCollectionViewSupplementaryDetailView.m


Changes:

=====================================
modules/gui/macosx/library/VLCLibraryCollectionViewSupplementaryDetailView.m
=====================================
@@ -72,7 +72,6 @@ static const CGFloat kBackgroundCornerRadius = 10.;
     const NSPoint arrowTopPoint = NSMakePoint(itemCenterPoint.x, backgroundTop + kArrowHeight - 1);
     const NSPoint arrowRightPoint = NSMakePoint(itemCenterPoint.x + _arrowSize.width / 2, backgroundTop);
 
-    const NSPoint topLeftCorner = NSMakePoint(backgroundLeft, backgroundTop);
     const NSPoint topLeftCornerAfterCurve = NSMakePoint(backgroundLeft + kBackgroundCornerRadius, backgroundTop);
 
     const NSBezierPath *backgroundPath = [NSBezierPath bezierPathWithRoundedRect:backgroundRect xRadius:kBackgroundCornerRadius yRadius:kBackgroundCornerRadius];
@@ -106,7 +105,6 @@ static const CGFloat kBackgroundCornerRadius = 10.;
     const NSPoint arrowLeftMostPoint = NSMakePoint(backgroundLeft - kArrowHeight + 1, itemCenterPoint.y);
     const NSPoint arrowTopPoint = NSMakePoint(backgroundLeft, itemCenterPoint.y - _arrowSize.width / 2);
 
-    const NSPoint bottomLeftCorner = NSMakePoint(backgroundLeft, backgroundBottom);
     const NSPoint bottomLeftCornerAfterCurve = NSMakePoint(backgroundLeft, backgroundBottom + kBackgroundCornerRadius);
 
     const NSBezierPath *backgroundPath = [NSBezierPath bezierPathWithRoundedRect:backgroundRect xRadius:kBackgroundCornerRadius yRadius:kBackgroundCornerRadius];



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f6986e8f58ebeda0c0a15d11ce02e12ad8121efb

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f6986e8f58ebeda0c0a15d11ce02e12ad8121efb
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list