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',
|
position: 'absolute',
|
||||||
left: margin + 'px',
|
left: margin + 'px',
|
||||||
top: margin + iconHeight + margin + 'px',
|
top: margin + iconHeight + margin + 'px',
|
||||||
width: iconSize + 'px',
|
width: iconWidth + 'px',
|
||||||
})
|
})
|
||||||
.appendTo($left);
|
.appendTo($left);
|
||||||
|
|
||||||
|
@ -840,6 +840,9 @@ pandora.ui.documentInfoView = function(data, isMixed) {
|
||||||
$text.animate({
|
$text.animate({
|
||||||
left: margin + (iconSize == 256 ? 256 : iconWidth) + margin + 'px'
|
left: margin + (iconSize == 256 ? 256 : iconWidth) + margin + 'px'
|
||||||
}, 250);
|
}, 250);
|
||||||
|
$data.animate({
|
||||||
|
width: iconWidth + 'px'
|
||||||
|
}, 250);
|
||||||
pandora.UI.set({infoIconSize: iconSize});
|
pandora.UI.set({infoIconSize: iconSize});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue