[vlc-commits] [Git][videolan/vlc][master] macosx: Use default NSColor for header texts for collection view supplementary element view
Steve Lhomme (@robUx4)
gitlab at videolan.org
Mon May 13 11:40:20 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
2ddd86c8 by Claudio Cambra at 2024-05-13T11:16:54+00:00
macosx: Use default NSColor for header texts for collection view supplementary element view
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
1 changed file:
- modules/gui/macosx/library/VLCLibraryCollectionViewSupplementaryElementView.m
Changes:
=====================================
modules/gui/macosx/library/VLCLibraryCollectionViewSupplementaryElementView.m
=====================================
@@ -39,7 +39,7 @@ NSString *VLCLibrarySupplementaryElementViewIdentifier = @"VLCLibrarySupplementa
self = [super initWithFrame:frameRect];
if (self) {
self.font = NSFont.VLClibrarySectionHeaderFont;
- self.textColor = self.shouldShowDarkAppearance ? NSColor.VLClibraryDarkTitleColor : NSColor.VLClibraryLightTitleColor;
+ self.textColor = NSColor.headerTextColor;
self.editable = NO;
self.selectable = NO;
self.bordered = NO;
@@ -50,9 +50,4 @@ NSString *VLCLibrarySupplementaryElementViewIdentifier = @"VLCLibrarySupplementa
return self;
}
-- (void)viewDidChangeEffectiveAppearance
-{
- self.textColor = self.shouldShowDarkAppearance ? NSColor.VLClibraryDarkTitleColor : NSColor.VLClibraryLightTitleColor;
-}
-
@end
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2ddd86c84418688ae977e981c5be31db40e470e2
--
This project does not include diff previews in email notifications.
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2ddd86c84418688ae977e981c5be31db40e470e2
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list