Fix searching in presentation mode in Firefox
This commit is contained in:
parent
494008eca0
commit
b118ade9ae
2 changed files with 10 additions and 7 deletions
|
@ -1904,11 +1904,12 @@ var PageView = function pageView(container, id, scale,
|
|||
div.appendChild(textLayerDiv);
|
||||
}
|
||||
var textLayer = this.textLayer =
|
||||
textLayerDiv ? new TextLayerBuilder({
|
||||
textLayerDiv: textLayerDiv,
|
||||
pageIndex: this.id - 1,
|
||||
lastScrollSource: PDFView
|
||||
}) : null;
|
||||
textLayerDiv ? new TextLayerBuilder({
|
||||
textLayerDiv: textLayerDiv,
|
||||
pageIndex: this.id - 1,
|
||||
lastScrollSource: PDFView,
|
||||
isViewerInPresentationMode: PDFView.isPresentationMode
|
||||
}) : null;
|
||||
|
||||
if (outputScale.scaled) {
|
||||
var cssScale = 'scale(' + (1 / outputScale.sx) + ', ' +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue