mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #4109 from Snuffleupagus/css-zoom-annotations
Update the annotationLayer when using CSS only zoom
This commit is contained in:
commit
ee48522a86
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue