Merge pull request #20329 from calixteman/fix_annotation_layer_driver
Fix the creation of the annotation layer in the ref tests
This commit is contained in:
commit
af542a84cc
@ -257,10 +257,8 @@ class Rasterize {
|
|||||||
// Rendering annotation layer as HTML.
|
// Rendering annotation layer as HTML.
|
||||||
const parameters = {
|
const parameters = {
|
||||||
annotations,
|
annotations,
|
||||||
linkService: new SimpleLinkService(),
|
|
||||||
imageResourcesPath,
|
imageResourcesPath,
|
||||||
renderForms,
|
renderForms,
|
||||||
annotationStorage,
|
|
||||||
fieldObjects,
|
fieldObjects,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -272,6 +270,8 @@ class Rasterize {
|
|||||||
annotationCanvasMap: annotationImageMap,
|
annotationCanvasMap: annotationImageMap,
|
||||||
page,
|
page,
|
||||||
viewport: annotationViewport,
|
viewport: annotationViewport,
|
||||||
|
linkService: new SimpleLinkService(),
|
||||||
|
annotationStorage,
|
||||||
});
|
});
|
||||||
await annotationLayer.render(parameters);
|
await annotationLayer.render(parameters);
|
||||||
await annotationLayer.showPopups();
|
await annotationLayer.showPopups();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user