[vlc-commits] [Git][videolan/vlc][master] macosx: Fix positioning of audio decorative view

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Oct 17 11:53:38 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
b38a4eb4 by Claudio Cambra at 2024-10-17T11:21:57+00:00
macosx: Fix positioning of audio decorative view

If the voutView is nil then it will get placed on top of the controls
view, making the playback controls inoperable as they are obscured. Fix
this by always positioning behind the main controls view

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
=====================================
@@ -172,7 +172,9 @@
         ],
     ]];
 
-    [self.view addSubview:_audioDecorativeView positioned:NSWindowAbove relativeTo:_voutView];
+    [self.view addSubview:self.audioDecorativeView
+               positioned:NSWindowBelow
+               relativeTo:self.mainControlsView];
     VLCPlayerController * const controller =
         VLCMain.sharedInstance.playlistController.playerController;
     [self updateDecorativeViewVisibilityOnControllerChange:controller];



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

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