a little attention to the games page
This commit is contained in:
@@ -640,6 +640,10 @@
|
||||
cssClass += " transparentPosterItem";
|
||||
}
|
||||
|
||||
if (options.borderless) {
|
||||
cssClass += " borderlessPosterItem";
|
||||
}
|
||||
|
||||
cssClass += ' ' + options.shape + 'PosterItem';
|
||||
|
||||
html += '<a class="' + cssClass + '" href="' + LibraryBrowser.getHref(item, options.context) + '">';
|
||||
@@ -654,6 +658,10 @@
|
||||
style += "background-color:" + background + ";";
|
||||
}
|
||||
|
||||
if (options.imagePosition) {
|
||||
style += "background-position:" + options.imagePosition + ";";
|
||||
}
|
||||
|
||||
html += '<div class="posterItemImage" style="' + style + '"></div>';
|
||||
|
||||
var name = LibraryBrowser.getPosterViewDisplayName(item);
|
||||
|
||||
Reference in New Issue
Block a user