mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-20 05:56:10 +05:00
createGradient fn fixed
This commit is contained in:
@@ -75,7 +75,7 @@ const TorrentCache = ({ cache, isMini }) => {
|
||||
|
||||
ctx.lineWidth = borderWidth
|
||||
ctx.fillStyle = inProgress
|
||||
? createGradient(ctx, percentage)
|
||||
? createGradient(ctx, percentage, pieceSize)
|
||||
: isCompleted
|
||||
? completeColor
|
||||
: isMini
|
||||
|
||||
Reference in New Issue
Block a user