Browse Source

Update the annotationLayer when using CSS only zoom

Jonas Jenwald 11 years ago
parent
commit
3c637b7ca9
  1. 4
      web/page_view.js

4
web/page_view.js

@ -184,6 +184,10 @@ var PageView = function pageView(container, id, scale, @@ -184,6 +184,10 @@ var PageView = function pageView(container, id, scale,
'translate(' + transX + ', ' + transY + ')');
CustomStyle.setProp('transformOrigin', textLayerDiv, '0% 0%');
}
if (USE_ONLY_CSS_ZOOM && this.annotationLayer) {
setupAnnotations(div, this.pdfPage, this.viewport);
}
};
Object.defineProperty(this, 'width', {

Loading…
Cancel
Save