Commit c8778487 authored by Oleg Korshul's avatar Oleg Korshul

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

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