mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-11 18:24:43 +02:00
Chore: Complete pdf-js update
This commit is contained in:
parent
ceb1db5379
commit
060e78577d
@ -117,7 +117,6 @@ export default class PdfDocument {
|
|||||||
textLayerDiv.style.width = `${viewport.width}px`;
|
textLayerDiv.style.width = `${viewport.width}px`;
|
||||||
await pdfjsLib.renderTextLayer({
|
await pdfjsLib.renderTextLayer({
|
||||||
textContent: txtContext,
|
textContent: txtContext,
|
||||||
enhanceTextSelection: true,
|
|
||||||
container: textFragment,
|
container: textFragment,
|
||||||
viewport: viewport,
|
viewport: viewport,
|
||||||
textDivs: [],
|
textDivs: [],
|
||||||
|
Loading…
Reference in New Issue
Block a user