From 57e65db05245d977dfdd70bc0e86635b4c4cf91c Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Sun, 14 Feb 2021 09:50:39 -0500 Subject: [PATCH] Fix black album art and queue height --- .../Browser/Album Browser/AlbumViewItem.xib | 6 +- ...ViewController+NSOutlineViewDelegate.swift | 4 + .../Window/Base.lproj/Main.storyboard | 80 ++++++++++--------- Persephone.xcodeproj/project.pbxproj | 29 ++++++- Shared/State/Reducers/QueueReducer.swift | 6 ++ 5 files changed, 84 insertions(+), 41 deletions(-) diff --git a/Mac/Components/Browser/Album Browser/AlbumViewItem.xib b/Mac/Components/Browser/Album Browser/AlbumViewItem.xib index 5e50c56..af0b919 100644 --- a/Mac/Components/Browser/Album Browser/AlbumViewItem.xib +++ b/Mac/Components/Browser/Album Browser/AlbumViewItem.xib @@ -1,8 +1,8 @@ - + - + @@ -33,7 +33,7 @@ - + diff --git a/Mac/Components/Queue/QueueViewController+NSOutlineViewDelegate.swift b/Mac/Components/Queue/QueueViewController+NSOutlineViewDelegate.swift index 31d0719..b5e1736 100644 --- a/Mac/Components/Queue/QueueViewController+NSOutlineViewDelegate.swift +++ b/Mac/Components/Queue/QueueViewController+NSOutlineViewDelegate.swift @@ -25,6 +25,10 @@ extension QueueViewController: NSOutlineViewDelegate { return nil } } + + func outlineView(_ outlineView: NSOutlineView, heightOfRowByItem item: Any) -> CGFloat { + return 40 + } func outlineViewSelectionDidChange(_ notification: Notification) { let queueItem = dataSource.queue[queueView.selectedRow] diff --git a/Mac/Components/Window/Base.lproj/Main.storyboard b/Mac/Components/Window/Base.lproj/Main.storyboard index 4ab71d9..90f4fa5 100644 --- a/Mac/Components/Window/Base.lproj/Main.storyboard +++ b/Mac/Components/Window/Base.lproj/Main.storyboard @@ -1,8 +1,8 @@ - + - + @@ -295,8 +295,8 @@ - - + + @@ -357,10 +357,10 @@ - + - + @@ -396,7 +396,7 @@ - + @@ -410,8 +410,8 @@