use iconWidth
This commit is contained in:
parent
98e7402248
commit
e361b1c16f
1 changed files with 4 additions and 1 deletions
|
@ -175,7 +175,7 @@ pandora.ui.documentInfoView = function(data, isMixed) {
|
|||
position: 'absolute',
|
||||
left: margin + 'px',
|
||||
top: margin + iconHeight + margin + 'px',
|
||||
width: iconSize + 'px',
|
||||
width: iconWidth + 'px',
|
||||
})
|
||||
.appendTo($left);
|
||||
|
||||
|
@ -840,6 +840,9 @@ pandora.ui.documentInfoView = function(data, isMixed) {
|
|||
$text.animate({
|
||||
left: margin + (iconSize == 256 ? 256 : iconWidth) + margin + 'px'
|
||||
}, 250);
|
||||
$data.animate({
|
||||
width: iconWidth + 'px'
|
||||
}, 250);
|
||||
pandora.UI.set({infoIconSize: iconSize});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue