Commit 1bd67ee9 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@66738 954022d7-b5bf-4e40-9824-e11837661b57
parent 7fb39a84
......@@ -7386,6 +7386,10 @@ CStylesPainter.prototype =
},
drawStyle2: function(graphics, style)
{
var ctx = graphics.m_oContext;
ctx.fillStyle = "#FFFFFF";
ctx.fillRect(0, 0, this.STYLE_THUMBNAIL_WIDTH, this.STYLE_THUMBNAIL_HEIGHT);
var font = { FontFamily : { Name: "Times New Roman", Index : -1 }, Color : { r : 0, g : 0, b : 0 }, Bold : false, Italic : false, FontSize : 10 };
var textPr = style.TextPr;
......@@ -7432,7 +7436,6 @@ CStylesPainter.prototype =
graphics.t(this.CurrentTranslate.StylesText, 0.5, (y + b) / 2);
var ctx = graphics.m_oContext;
ctx.setTransform(1,0,0,1,0,0);
ctx.fillStyle = "#E8E8E8";
......
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