use border radius for icon lists with frame icons
This commit is contained in:
parent
6740422a16
commit
11182e1c1a
3 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,7 @@ pandora.ui.browser = function() {
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
var that = Ox.IconList({
|
var that = Ox.IconList({
|
||||||
|
borderRadius: pandora.user.ui.icons == 'posters' ? 0 : 8,
|
||||||
centered: true,
|
centered: true,
|
||||||
defaultRatio: pandora.user.ui.icons == 'posters' ? 5/8 : 1,
|
defaultRatio: pandora.user.ui.icons == 'posters' ? 5/8 : 1,
|
||||||
id: 'list',
|
id: 'list',
|
||||||
|
|
|
@ -76,6 +76,7 @@ pandora.ui.list = function() { // fixme: remove view argument
|
||||||
} else if (view == 'icons') {
|
} else if (view == 'icons') {
|
||||||
//alert(JSON.stringify(pandora.user.ui.lists[pandora.user.ui.list].selected))
|
//alert(JSON.stringify(pandora.user.ui.lists[pandora.user.ui.list].selected))
|
||||||
that = Ox.IconList({
|
that = Ox.IconList({
|
||||||
|
borderRadius: pandora.user.ui.icons == 'posters' ? 0 : 16,
|
||||||
defaultRatio: pandora.user.ui.icons == 'posters' ? 5/8 : 1,
|
defaultRatio: pandora.user.ui.icons == 'posters' ? 5/8 : 1,
|
||||||
id: 'list',
|
id: 'list',
|
||||||
item: function(data, sort, size) {
|
item: function(data, sort, size) {
|
||||||
|
|
|
@ -173,6 +173,7 @@ pandora.ui.mainMenu = function() {
|
||||||
$list = pandora.$ui.list
|
$list = pandora.$ui.list
|
||||||
}
|
}
|
||||||
$list && $list.options({
|
$list && $list.options({
|
||||||
|
borderRadius: value == 'posters' ? 0 : pandora.user.ui.item ? 8 : 16,
|
||||||
defaultRatio: value == 'posters' ? 5/8 : 1
|
defaultRatio: value == 'posters' ? 5/8 : 1
|
||||||
}).reloadList(true);
|
}).reloadList(true);
|
||||||
} else if (data.id == 'viewmovies') {
|
} else if (data.id == 'viewmovies') {
|
||||||
|
|
Loading…
Reference in a new issue