fix #2558 (list icon border-radius)

This commit is contained in:
rolux 2014-11-15 11:16:09 +00:00
parent 5862a7066c
commit 1b9df27136

View file

@ -329,12 +329,14 @@ pandora.ui.listInfo = function() {
}
function getIconCSS() {
var size = Math.round(pandora.user.ui.sidebarSize / 2);
return {
var list = pandora.user.ui.section == 'items' ? pandora.user.ui._list : ui[folderItem.toLowerCase()],
size = Math.round(pandora.user.ui.sidebarSize / 2);
return Ox.extend({
width: size + 'px',
height: size + 'px',
height: size + 'px'
}, list ? {
borderRadius: Math.round(size / 4) + 'px'
};
} : {});
}
that.resizeInfo = function() {