[vlc-commits] [Git][videolan/vlc][master] macosx: Prevent shadow for glass-effect bottom bar view being clipped
Steve Lhomme (@robUx4)
gitlab at videolan.org
Tue Oct 21 09:08:39 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
76637af5 by Claudio Cambra at 2025-10-21T08:23:20+00:00
macosx: Prevent shadow for glass-effect bottom bar view being clipped
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
1 changed file:
- modules/gui/macosx/windows/controlsbar/VLCMainWindowControlsBar.m
Changes:
=====================================
modules/gui/macosx/windows/controlsbar/VLCMainWindowControlsBar.m
=====================================
@@ -70,12 +70,12 @@
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 260000
NSGlassEffectView * const glassEffectView = [[NSGlassEffectView alloc] init];
glassEffectView.translatesAutoresizingMaskIntoConstraints = NO;
- [self.bottomBarView addSubview:glassEffectView positioned:NSWindowBelow relativeTo:self.dropView];
- [self.visualEffectView removeFromSuperview];
+ self.bottomBarView.subviews = @[glassEffectView];
glassEffectView.contentView = self.dropView;
[glassEffectView applyConstraintsToFillSuperview];
glassEffectView.cornerRadius = CGFLOAT_MAX;
self.bottomBarView.drawBorder = NO;
+ self.bottomBarView.clipsToBounds = NO;
#endif
} else {
self.visualEffectView.wantsLayer = YES;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/76637af5aa1b802037d0ebc29943e07984cda1c9
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/76637af5aa1b802037d0ebc29943e07984cda1c9
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