diff options
| author | Mark Monteiro <mark.monteiro23@gmail.com> | 2019-12-14 12:20:52 +0100 |
|---|---|---|
| committer | Mark Monteiro <mark.monteiro23@gmail.com> | 2019-12-14 12:20:52 +0100 |
| commit | c1c1672d0fd8169bc35ec3bd50754083303a88bd (patch) | |
| tree | 16f4685889b0bd270dad64350db9c24cc8fd91bb /Jellyfin.Drawing.Skia/UnplayedCountIndicator.cs | |
| parent | c05933234a62850e1a4bde2ea5f9c1f7f7d3d3f8 (diff) | |
Fix remaining StyleCop warnings
Diffstat (limited to 'Jellyfin.Drawing.Skia/UnplayedCountIndicator.cs')
| -rw-r--r-- | Jellyfin.Drawing.Skia/UnplayedCountIndicator.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Jellyfin.Drawing.Skia/UnplayedCountIndicator.cs b/Jellyfin.Drawing.Skia/UnplayedCountIndicator.cs index 5cab1115fb..a10fff9dfe 100644 --- a/Jellyfin.Drawing.Skia/UnplayedCountIndicator.cs +++ b/Jellyfin.Drawing.Skia/UnplayedCountIndicator.cs @@ -34,6 +34,7 @@ namespace Jellyfin.Drawing.Skia paint.Style = SKPaintStyle.Fill; canvas.DrawCircle((float)x, OffsetFromTopRightCorner, 20, paint); } + using (var paint = new SKPaint()) { paint.Color = new SKColor(255, 255, 255, 255); @@ -48,6 +49,7 @@ namespace Jellyfin.Drawing.Skia { x -= 7; } + if (text.Length == 2) { x -= 13; |
