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 = {
|
var renderContext = {
|
||||||
canvasContext: drawContext,
|
canvasContext: drawContext,
|
||||||
textLayer: textLayerBuilder,
|
|
||||||
viewport: viewport
|
viewport: viewport
|
||||||
};
|
};
|
||||||
var completeRender = (function(error) {
|
var completeRender = (function(error) {
|
||||||
|
@ -644,7 +644,6 @@ var PageView = function pageView(container, id, scale,
|
|||||||
var renderContext = {
|
var renderContext = {
|
||||||
canvasContext: ctx,
|
canvasContext: ctx,
|
||||||
viewport: this.viewport,
|
viewport: this.viewport,
|
||||||
textLayer: textLayer,
|
|
||||||
// intent: 'default', // === 'display'
|
// intent: 'default', // === 'display'
|
||||||
continueCallback: function pdfViewcContinueCallback(cont) {
|
continueCallback: function pdfViewcContinueCallback(cont) {
|
||||||
if (PDFView.highestPriorityPage !== 'page' + self.id) {
|
if (PDFView.highestPriorityPage !== 'page' + self.id) {
|
||||||
|
Loading…
Reference in New Issue
Block a user