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 <[email protected]>

- - - - -


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.


_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to