From cc9f6650a8c595bd3b2a2723a6f193e63790a122 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Mon, 20 Mar 2023 11:41:57 +0100 Subject: [PATCH] Stop passing in `pageColors` to the `CanvasGraphics`-constructor (PR 16075 follow-up) The `pageColors`-option was removed from the `CanvasGraphics`-constructor in PR 16075, hence the code in the API no longer needs to pass in that option; this is something that I missed during review. --- src/display/api.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/display/api.js b/src/display/api.js index 96b7243cf..2070a8058 100644 --- a/src/display/api.js +++ b/src/display/api.js @@ -3320,8 +3320,7 @@ class InternalRenderTask { this.canvasFactory, this.filterFactory, { optionalContentConfig }, - this.annotationCanvasMap, - this.pageColors + this.annotationCanvasMap ); this.gfx.beginDrawing({ transform,