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', 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});
} }