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.


_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to