[vlc-commits] [Git][videolan/vlc][master] macosx: Fix lack of sidebar toggle when library window starts in video section
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed Apr 10 12:20:47 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
73830db9 by Claudio Cambra at 2024-04-10T11:30:43+00:00
macosx: Fix lack of sidebar toggle when library window starts in video section
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
1 changed file:
- modules/gui/macosx/library/VLCLibraryWindow.m
Changes:
=====================================
modules/gui/macosx/library/VLCLibraryWindow.m
=====================================
@@ -454,11 +454,16 @@ static void addShadow(NSImageView *__unsafe_unretained imageView)
- (void)setViewModeToolbarItemVisible:(BOOL)visible
{
if (!visible) {
- [self hideToolbarItem:_libraryViewModeToolbarItem];
+ [self hideToolbarItem:self.libraryViewModeToolbarItem];
return;
}
- [self insertToolbarItem:_libraryViewModeToolbarItem inFrontOf:@[_forwardsToolbarItem, _backwardsToolbarItem]];
+ [self insertToolbarItem:self.libraryViewModeToolbarItem inFrontOf:@[
+ self.toggleNavSidebarToolbarItem,
+ self.trackingSeparatorToolbarItem,
+ self.forwardsToolbarItem,
+ self.backwardsToolbarItem
+ ]];
}
- (void)updatePlayqueueToggleState
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/73830db98d9be44538473ee728e118a163444956
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/73830db98d9be44538473ee728e118a163444956
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