Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
4989505a by Claudio Cambra at 2022-07-11T07:06:03+00:00
macosx: Include NSAppearanceNameVibrantDark in dark mode detection, fixing
borked labels
Signed-off-by: Claudio Cambra <claudio.cam...@gmail.com>
- - - - -
1 changed file:
- modules/gui/macosx/extensions/NSView+VLCAdditions.m
Changes:
=====================================
modules/gui/macosx/extensions/NSView+VLCAdditions.m
=====================================
@@ -30,7 +30,8 @@
- (BOOL)shouldShowDarkAppearance
{
if (@available(macOS 10_14, *)) {
- if ([self.effectiveAppearance.name
isEqualToString:NSAppearanceNameDarkAqua]) {
+ if ([self.effectiveAppearance.name
isEqualToString:NSAppearanceNameDarkAqua] ||
+ [self.effectiveAppearance.name
isEqualToString:NSAppearanceNameVibrantDark]) {
return YES;
}
}
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/4989505a7a283fc4befc11cf21b90c1f481caa1a
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/4989505a7a283fc4befc11cf21b90c1f481caa1a
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits