[vlc-commits] [Git][videolan/vlc][master] 3 commits: macosx: Deselect audio library collection view selection when switching audio library views

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Jan 16 16:51:56 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
21bf9ff8 by Claudio Cambra at 2023-01-16T16:34:51+00:00
macosx: Deselect audio library collection view selection when switching audio library views

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

- - - - -
92539262 by Claudio Cambra at 2023-01-16T16:34:51+00:00
macosx: Ensure audio library supplementary detail view gets closed immediately without animation when switching audio library views

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

- - - - -
eb57ab5d by Claudio Cambra at 2023-01-16T16:34:51+00:00
macosx: Make collectionViewLayout resetLayout call more concise in VLCLibraryAudioViewController

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

- - - - -


1 changed file:

- modules/gui/macosx/library/audio-library/VLCLibraryAudioViewController.m


Changes:

=====================================
modules/gui/macosx/library/audio-library/VLCLibraryAudioViewController.m
=====================================
@@ -277,6 +277,9 @@
     if (_audioSegmentedControl.selectedSegment == VLCAudioLibrarySongsSegment ||
         _audioSegmentedControl.selectedSegment == VLCAudioLibraryAlbumsSegment) {
 
+        [_audioLibraryCollectionView deselectAll:self];
+        [(VLCLibraryCollectionViewFlowLayout *)_audioLibraryCollectionView.collectionViewLayout resetLayout];
+        
         _audioCollectionViewScrollView.hidden = NO;
         _audioLibraryGridModeSplitView.hidden = YES;
         return;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/2e8f5eb5bf301f2cfd4040b0b036ab0037375e72...eb57ab5d0952977ebd33bfc984b723cc64117f87

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/2e8f5eb5bf301f2cfd4040b0b036ab0037375e72...eb57ab5d0952977ebd33bfc984b723cc64117f87
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