aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Drawing.Skia
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2021-09-06 02:30:49 +0900
committerGitHub <noreply@github.com>2021-09-06 02:30:49 +0900
commitb8eb8940c7cb1e535dbe0b52ef5fbe9dd093f259 (patch)
tree8ab36289aa875007e175c32ef8b492670a004cbb /Jellyfin.Drawing.Skia
parent66659b0842765c55228f4588af71134955ebafb8 (diff)
parent3b8947aba6937cb9b38f4e5769816dbf674e0dd6 (diff)
Merge pull request #6257 from MrTimscampi/music-library-backdrop
Use artist backdrop for generated library image
Diffstat (limited to 'Jellyfin.Drawing.Skia')
-rw-r--r--Jellyfin.Drawing.Skia/StripCollageBuilder.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Drawing.Skia/StripCollageBuilder.cs b/Jellyfin.Drawing.Skia/StripCollageBuilder.cs
index 09a370238..d1cc2255d 100644
--- a/Jellyfin.Drawing.Skia/StripCollageBuilder.cs
+++ b/Jellyfin.Drawing.Skia/StripCollageBuilder.cs
@@ -112,7 +112,7 @@ namespace Jellyfin.Drawing.Skia
canvas.DrawImage(residedBackdrop, 0, 0);
// draw shadow rectangle
- var paintColor = new SKPaint
+ using var paintColor = new SKPaint
{
Color = SKColors.Black.WithAlpha(0x78),
Style = SKPaintStyle.Fill
@@ -130,7 +130,7 @@ namespace Jellyfin.Drawing.Skia
}
// draw library name
- var textPaint = new SKPaint
+ using var textPaint = new SKPaint
{
Color = SKColors.White,
Style = SKPaintStyle.Fill,