|
|
@ -553,7 +553,7 @@ var PageView = function pageView(container, content, id, pageWidth, pageHeight, |
|
|
|
ctx.translate(-this.x * scale, -this.y * scale); |
|
|
|
ctx.translate(-this.x * scale, -this.y * scale); |
|
|
|
|
|
|
|
|
|
|
|
stats.begin = Date.now(); |
|
|
|
stats.begin = Date.now(); |
|
|
|
this.content.startRendering(ctx, |
|
|
|
this.content.startRendering(ctx, |
|
|
|
(function pageViewDrawCallback() { |
|
|
|
(function pageViewDrawCallback() { |
|
|
|
this.updateStats(); |
|
|
|
this.updateStats(); |
|
|
|
if (this.onAfterDraw) |
|
|
|
if (this.onAfterDraw) |
|
|
|