Commit cc05bb48 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Убрал белую заливку, если нет заднего фона.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58015 954022d7-b5bf-4e40-9824-e11837661b57
parent 9a4642f5
......@@ -1299,10 +1299,12 @@
var nOffsetY = nIndex * this.styleThumbnailHeightPt;
// Fill cell
var bg = oStyle.getFill();
var oColor = bg !== null ? bg : new CColor(255, 255, 255);
oGraphics.save().beginPath().setFillStyle(oColor);
var oColor = oStyle.getFill();
oGraphics.save().beginPath();
if (null !== oColor)
oGraphics.setFillStyle(oColor);
oGraphics.rect(0, nOffsetY, this.styleThumbnailWidthPt, this.styleThumbnailHeightPt).clip();
if (null !== oColor)
oGraphics.fill();
......
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