[vlc-commits] [Git][videolan/vlc][master] macosx: Fix playlist item image resizing
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu May 28 08:18:22 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
1501d201 by Dave Nicolson at 2026-05-28T07:51:46+00:00
macosx: Fix playlist item image resizing
- - - - -
1 changed file:
- modules/gui/macosx/playqueue/VLCPlayQueueTableCellView.m
Changes:
=====================================
modules/gui/macosx/playqueue/VLCPlayQueueTableCellView.m
=====================================
@@ -106,6 +106,9 @@ NSString * const VLCDisplayTrackNumberPlayQueueSettingChanged = @"VLCDisplayTrac
{
VLCPlayQueueItem * const item = self.representedPlayQueueItem;
+ self.audioArtworkImageView.contentGravity = VLCImageViewContentGravityResizeAspect;
+ self.mediaImageView.contentGravity = VLCImageViewContentGravityResizeAspect;
+
__weak typeof(self) weakSelf = self;
[VLCLibraryImageCache thumbnailForPlayQueueItem:item withCompletion:^(NSImage * const thumbnail) {
if (!weakSelf || item != weakSelf.representedPlayQueueItem) {
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1501d2019bd2425d71211d88dfed9e127e127133
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1501d2019bd2425d71211d88dfed9e127e127133
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list