[vlc-commits] [Git][videolan/vlc][master] macosx: reset flow layout when playlist item is deleted
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed May 13 11:55:24 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
b0b06939 by Serhii Bykov at 2026-05-13T11:35:49+00:00
macosx: reset flow layout when playlist item is deleted
- - - - -
1 changed file:
- modules/gui/macosx/library/playlist-library/VLCLibraryPlaylistDataSource.m
Changes:
=====================================
modules/gui/macosx/library/playlist-library/VLCLibraryPlaylistDataSource.m
=====================================
@@ -151,6 +151,7 @@ typedef NS_ENUM(NSInteger, VLCLibraryDataSourceCacheAction) {
[collectionView reloadItemsAtIndexPaths:indexPathSet];
break;
case VLCLibraryDataSourceCacheDeleteAction:
+ [(VLCLibraryCollectionViewFlowLayout *)collectionView.collectionViewLayout resetLayout];
[collectionView deleteItemsAtIndexPaths:indexPathSet];
break;
default:
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b0b069394b1aec392fca2dbe8d4f68e217ee2d31
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b0b069394b1aec392fca2dbe8d4f68e217ee2d31
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list