[vlc-commits] [Git][videolan/vlc][master] macosx: Hide float-on-top indicator when fading out main video view controls

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sun Mar 1 10:34:33 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
5c744ed5 by Claudio Cambra at 2026-03-01T11:18:23+01:00
macosx: Hide float-on-top indicator when fading out main video view controls

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

- - - - -


1 changed file:

- modules/gui/macosx/windows/video/VLCMainVideoViewController.m


Changes:

=====================================
modules/gui/macosx/windows/video/VLCMainVideoViewController.m
=====================================
@@ -430,6 +430,7 @@ NSString * const VLCUseClassicVideoPlayerLayoutKey = @"VLCUseClassicVideoPlayerL
     [NSAnimationContext runAnimationGroup:^(NSAnimationContext * _Nonnull context) {
         [context setDuration:VLCLibraryUIUnits.controlsFadeAnimationDuration];
         [self->_mainControlsView.animator setAlphaValue:0.0f];
+        [self->_floatOnTopIndicatorImageView.animator setAlphaValue:0.0f];
     } completionHandler:nil];
 }
 
@@ -477,6 +478,7 @@ NSString * const VLCUseClassicVideoPlayerLayoutKey = @"VLCUseClassicVideoPlayerL
         self->_isFadingIn = YES;
         [context setDuration:VLCLibraryUIUnits.controlsFadeAnimationDuration];
         [self->_mainControlsView.animator setAlphaValue:1.0f];
+        [self->_floatOnTopIndicatorImageView.animator setAlphaValue:1.0f];
     } completionHandler:^{
         self->_isFadingIn = NO;
         [self startAutohideTimer];



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/5c744ed591af85d2455ebe2616a8c32c016d29e1
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