textLayer is not used anymore in render context.
It should be removed to prevent confusion when reading the code.
This commit is contained in:
parent
e77e5c442f
commit
2f72ac1255
@ -311,7 +311,6 @@ function nextPage(task, loadError) {
|
||||
}
|
||||
var renderContext = {
|
||||
canvasContext: drawContext,
|
||||
textLayer: textLayerBuilder,
|
||||
viewport: viewport
|
||||
};
|
||||
var completeRender = (function(error) {
|
||||
|
@ -644,7 +644,6 @@ var PageView = function pageView(container, id, scale,
|
||||
var renderContext = {
|
||||
canvasContext: ctx,
|
||||
viewport: this.viewport,
|
||||
textLayer: textLayer,
|
||||
// intent: 'default', // === 'display'
|
||||
continueCallback: function pdfViewcContinueCallback(cont) {
|
||||
if (PDFView.highestPriorityPage !== 'page' + self.id) {
|
||||
|
Loading…
Reference in New Issue
Block a user