Update the annotationLayer when using CSS only zoom
This commit is contained in:
parent
d6ed4f2631
commit
3c637b7ca9
@ -184,6 +184,10 @@ var PageView = function pageView(container, id, scale,
|
|||||||
'translate(' + transX + ', ' + transY + ')');
|
'translate(' + transX + ', ' + transY + ')');
|
||||||
CustomStyle.setProp('transformOrigin', textLayerDiv, '0% 0%');
|
CustomStyle.setProp('transformOrigin', textLayerDiv, '0% 0%');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (USE_ONLY_CSS_ZOOM && this.annotationLayer) {
|
||||||
|
setupAnnotations(div, this.pdfPage, this.viewport);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Object.defineProperty(this, 'width', {
|
Object.defineProperty(this, 'width', {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user