Skip to content

Commit af542a8

Browse files
authored
Merge pull request #20329 from calixteman/fix_annotation_layer_driver
Fix the creation of the annotation layer in the ref tests
2 parents 3234912 + 17993a0 commit af542a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/driver.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,8 @@ class Rasterize {
257257
// Rendering annotation layer as HTML.
258258
const parameters = {
259259
annotations,
260-
linkService: new SimpleLinkService(),
261260
imageResourcesPath,
262261
renderForms,
263-
annotationStorage,
264262
fieldObjects,
265263
};
266264

@@ -272,6 +270,8 @@ class Rasterize {
272270
annotationCanvasMap: annotationImageMap,
273271
page,
274272
viewport: annotationViewport,
273+
linkService: new SimpleLinkService(),
274+
annotationStorage,
275275
});
276276
await annotationLayer.render(parameters);
277277
await annotationLayer.showPopups();

0 commit comments

Comments
 (0)