Commit c8778487 authored by Oleg Korshul's avatar Oleg Korshul

fix bug Bug 32039. (redrawing page in pdf viewer)

parent 4d7d1021
......@@ -504,13 +504,16 @@ CDocMeta.prototype =
drawPage : function(pageIndex, g)
{
// если пришла отрисовка - то точно надо перерисовать (изменился размер)
this.stopRenderingPage(pageIndex);
var drObject = new CDrawingObject(this);
drObject.Page = pageIndex;
drObject.StreamPos = this.Pages[pageIndex].start;
drObject.Graphics = g;
this.Drawings[this.Drawings.length] = drObject;
this.OnImageLoad(drObject);
this.OnImageLoad(drObject);
},
stopRenderingPage : function(pageIndex)
......
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