Skip to content

Commit

Permalink
macosx: Fix scroller insets for media source base data source views
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra authored and fkuehne committed Sep 23, 2024
1 parent 5e0d746 commit f2993dd
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,7 @@ - (void)togglePathControlVisibility:(BOOL)visible

NSEdgeInsets scrollViewInsets = VLCLibraryUIUnits.libraryViewScrollViewContentInsets;
scrollViewInsets.top += scrollViewsTopSpace;
NSEdgeInsets scrollerInsets = VLCLibraryUIUnits.libraryViewScrollViewScrollerInsets;
scrollerInsets.top += scrollViewsTopSpace;
const NSEdgeInsets scrollerInsets = VLCLibraryUIUnits.libraryViewScrollViewScrollerInsets;

_collectionViewScrollView.automaticallyAdjustsContentInsets = NO;
_collectionViewScrollView.contentInsets = scrollViewInsets;
Expand Down

0 comments on commit f2993dd

Please sign in to comment.