diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/content/dependencies/generateTrackCoverArtwork.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/content/dependencies/generateTrackCoverArtwork.js b/src/content/dependencies/generateTrackCoverArtwork.js index 6c056c9a..a241eaf2 100644 --- a/src/content/dependencies/generateTrackCoverArtwork.js +++ b/src/content/dependencies/generateTrackCoverArtwork.js @@ -17,12 +17,18 @@ export default { color: track.color, + + dimensions: + (track.hasUniqueCoverArt + ? track.coverArtDimensions + : track.album.coverArtDimensions), }), generate: (data, relations) => relations.coverArtwork.slots({ path: data.path, color: data.color, + dimensions: data.dimensions, }), }; |