Commit 8cf7fb6e 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@58002 954022d7-b5bf-4e40-9824-e11837661b57
parent 20c511fb
...@@ -1273,10 +1273,6 @@ ...@@ -1273,10 +1273,6 @@
var oCanvas = document.createElement('canvas'); var oCanvas = document.createElement('canvas');
oCanvas.width = this.styleThumbnailWidthWithRetina; oCanvas.width = this.styleThumbnailWidthWithRetina;
oCanvas.height = nDefaultStylesCount * this.styleThumbnailHeightWithRetina; oCanvas.height = nDefaultStylesCount * this.styleThumbnailHeightWithRetina;
var ctx = oCanvas.getContext('2d');
ctx.fillStyle = "#FFFFFF";
ctx.fillRect(0, 0, oCanvas.width, oCanvas.height);
var oGraphics = new asc.DrawingContext({canvas: oCanvas, units: 1/*pt*/, fmgrGraphics: fmgrGraphics, font: oFont}); var oGraphics = new asc.DrawingContext({canvas: oCanvas, units: 1/*pt*/, fmgrGraphics: fmgrGraphics, font: oFont});
var oStyle, oCustomStyle; var oStyle, oCustomStyle;
...@@ -1302,10 +1298,6 @@ ...@@ -1302,10 +1298,6 @@
var oCanvas = document.createElement('canvas'); var oCanvas = document.createElement('canvas');
oCanvas.width = this.styleThumbnailWidthWithRetina; oCanvas.width = this.styleThumbnailWidthWithRetina;
oCanvas.height = nDocumentStylesCount * this.styleThumbnailHeightWithRetina; oCanvas.height = nDocumentStylesCount * this.styleThumbnailHeightWithRetina;
var ctx = oCanvas.getContext('2d');
ctx.fillStyle = "#FFFFFF";
ctx.fillRect(0, 0, oCanvas.width, oCanvas.height);
var oGraphics = new asc.DrawingContext({canvas: oCanvas, units: 1/*pt*/, fmgrGraphics: fmgrGraphics, font: oFont}); var oGraphics = new asc.DrawingContext({canvas: oCanvas, units: 1/*pt*/, fmgrGraphics: fmgrGraphics, font: oFont});
var oStyle; var oStyle;
......
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