Commit 414cc245 authored by Oleg Korshul's avatar Oleg Korshul

default pen/brush colors in viewer

parent c7d45b5a
......@@ -571,6 +571,12 @@ CDocMeta.prototype =
}
var bIsFromPaint = (this.Pages[obj.Page].start == obj.StreamPos) ? 1 : 0;
if (bIsFromPaint)
{
// default colors: black!!!
g.b_color1(0, 0, 0, 255);
g.p_color(0, 0, 0, 255);
}
if (obj.CheckOnScroll() && 0 == bIsFromPaint)
editor.WordControl.OnScroll();
......
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