mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add + button to song lists
This commit is contained in:
parent
dc02d75161
commit
3ed10f65e5
12 changed files with 76 additions and 16 deletions
|
@ -247,6 +247,9 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'focusMana
|
|||
else if (options.shape === 'square') {
|
||||
options.width = options.width || 243;
|
||||
}
|
||||
else if (options.shape === 'banner') {
|
||||
options.width = options.width || 800;
|
||||
}
|
||||
}
|
||||
|
||||
options.width = options.width || getImageWidth(options.shape);
|
||||
|
@ -504,6 +507,9 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'focusMana
|
|||
if (shape.indexOf('square') !== -1) {
|
||||
return 1;
|
||||
}
|
||||
if (shape.indexOf('banner') !== -1) {
|
||||
return (1000 / 185);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue