Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
22e03ff5 by Claudio Cambra at 2022-07-14T07:59:40+00:00
macosx: Fix content insets in library audio collection view
- - - - -
1 changed file:
- modules/gui/macosx/library/VLCLibraryWindow.m
Changes:
=====================================
modules/gui/macosx/library/VLCLibraryWindow.m
=====================================
@@ -346,7 +346,8 @@ static void addShadow(NSImageView *__unsafe_unretained
imageView)
[self repeatStateUpdated:nil];
[self shuffleStateUpdated:nil];
- const NSEdgeInsets scrollViewEdgeInsets = NSEdgeInsetsMake(16.0, 32.0,
0.0, 0.0);
+ // Need to account for the audio collection switcher at the top
+ const NSEdgeInsets scrollViewEdgeInsets = NSEdgeInsetsMake(32., 16., 16.,
0.);
_audioCollectionViewScrollView.automaticallyAdjustsContentInsets = NO;
_audioCollectionViewScrollView.contentInsets = scrollViewEdgeInsets;
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/22e03ff5ac1c4bc71e18b59916fd696ddaac46e7
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/22e03ff5ac1c4bc71e18b59916fd696ddaac46e7
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits