Commit 3319b649 authored by GoshaZotov's avatar GoshaZotov

fix bug 35590

parent 1b9c1519
......@@ -2803,6 +2803,9 @@
}
}
var originSizeW = styleThumbnailWidth;
var originSizeH = styleThumbnailHeight;
if (AscBrowser.isRetina)
{
styleThumbnailWidth = AscCommon.AscBrowser.convertToRetinaValue(styleThumbnailWidth, true);
......@@ -2821,7 +2824,7 @@
options.name = i;
options.displayName = styles[i].displayName;
options.type = type;
options.image = t.af_getSmallIconTable(canvas, styles[i], styleInfo, {w: styleThumbnailWidth, h: styleThumbnailHeight, row: row, col: col});
options.image = t.af_getSmallIconTable(canvas, styles[i], styleInfo, {w: originSizeW, h: originSizeH, row: row, col: col});
result.push(options);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment