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