aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Drawing.Skia/UnplayedCountIndicator.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-04-05 21:19:04 +0200
committerBond_009 <bond.009@outlook.com>2020-04-05 21:19:04 +0200
commit2fcbc2a5b804e8d426dfd014560291d2399ab799 (patch)
treedf938f05d8f991904f628467e1d408b431198fe8 /Jellyfin.Drawing.Skia/UnplayedCountIndicator.cs
parent29539174a3de47c151cc7c7fd192100e6fbe48d7 (diff)
Enable nullabe reference types for Emby.Drawing and Jellyfin.Drawing.Skia
Diffstat (limited to 'Jellyfin.Drawing.Skia/UnplayedCountIndicator.cs')
-rw-r--r--Jellyfin.Drawing.Skia/UnplayedCountIndicator.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Drawing.Skia/UnplayedCountIndicator.cs b/Jellyfin.Drawing.Skia/UnplayedCountIndicator.cs
index a10fff9dfe..cf3dbde2c0 100644
--- a/Jellyfin.Drawing.Skia/UnplayedCountIndicator.cs
+++ b/Jellyfin.Drawing.Skia/UnplayedCountIndicator.cs
@@ -32,7 +32,7 @@ namespace Jellyfin.Drawing.Skia
{
paint.Color = SKColor.Parse("#CC00A4DC");
paint.Style = SKPaintStyle.Fill;
- canvas.DrawCircle((float)x, OffsetFromTopRightCorner, 20, paint);
+ canvas.DrawCircle(x, OffsetFromTopRightCorner, 20, paint);
}
using (var paint = new SKPaint())
@@ -61,7 +61,7 @@ namespace Jellyfin.Drawing.Skia
paint.TextSize = 18;
}
- canvas.DrawText(text, (float)x, y, paint);
+ canvas.DrawText(text, x, y, paint);
}
}
}