|
|
@ -1270,8 +1270,8 @@ var PDFPageView = (function PDFPageViewClosure() { |
|
|
|
if (this.textLayerFactory) { |
|
|
|
if (this.textLayerFactory) { |
|
|
|
textLayerDiv = document.createElement('div'); |
|
|
|
textLayerDiv = document.createElement('div'); |
|
|
|
textLayerDiv.className = 'textLayer'; |
|
|
|
textLayerDiv.className = 'textLayer'; |
|
|
|
textLayerDiv.style.width = canvas.style.width; |
|
|
|
textLayerDiv.style.width = canvasWrapper.style.width; |
|
|
|
textLayerDiv.style.height = canvas.style.height; |
|
|
|
textLayerDiv.style.height = canvasWrapper.style.height; |
|
|
|
if (this.annotationLayer && this.annotationLayer.div) { |
|
|
|
if (this.annotationLayer && this.annotationLayer.div) { |
|
|
|
// annotationLayer needs to stay on top
|
|
|
|
// annotationLayer needs to stay on top
|
|
|
|
div.insertBefore(textLayerDiv, this.annotationLayer.div); |
|
|
|
div.insertBefore(textLayerDiv, this.annotationLayer.div); |
|
|
|