1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Lazy rendering

This commit is contained in:
Artur Adib 2011-10-31 16:49:18 -04:00
parent e7d08e3a98
commit 98f3bab65c
3 changed files with 78 additions and 53 deletions

View file

@ -491,7 +491,7 @@ var PageView = function pageView(container, content, id, pageWidth, pageHeight,
ctx.translate(-this.x * scale, -this.y * scale);
stats.begin = Date.now();
this.content.startRendering(ctx, this.updateStats, textLayer, scale);
this.content.startRendering(ctx, this.updateStats, textLayer);
setupLinks(this.content, this.scale);
div.setAttribute('data-loaded', true);