use iconWidth

This commit is contained in:
j 2021-02-18 17:54:07 +01:00
parent 98e7402248
commit e361b1c16f

View file

@ -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});
}