[vlc-commits] [Git][videolan/vlc][master] macosx: home: clear stack view before repopulating on reassignment
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed Apr 29 13:54:03 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
2aefda07 by Serhii Bykov at 2026-04-29T13:11:40+00:00
macosx: home: clear stack view before repopulating on reassignment
- - - - -
1 changed file:
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewStackViewController.m
Changes:
=====================================
modules/gui/macosx/library/home-library/VLCLibraryHomeViewStackViewController.m
=====================================
@@ -304,6 +304,10 @@
[_collectionsStackView setHuggingPriority:NSLayoutPriorityDefaultHigh
forOrientation:NSLayoutConstraintOrientationVertical];
+ for (NSView * const view in _collectionsStackView.arrangedSubviews.copy) {
+ [view removeFromSuperview];
+ }
+
[self addCustomContainerViews];
for (NSView<VLCLibraryHomeViewContainerView> * const containerView in _containers) {
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2aefda070c190958f2fdf2445b32ebef67315cb3
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2aefda070c190958f2fdf2445b32ebef67315cb3
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list