Skip to content
Snippets Groups Projects
Commit 3f158f1a authored by Jérôme Chauveau's avatar Jérôme Chauveau
Browse files

multi base layer support

parent a4e0e9c9
Branches
Tags
No related merge requests found
......@@ -61,7 +61,7 @@ class AnnotationDrawing extends Component {
// Setup Paper View to have the same center and zoom as the OSD Viewport
const viewportZoom = this.OSDReference.viewport.getZoom(true);
const image1 = this.OSDReference.world.getItemAt(0);
const center = this.OSDReference.viewport.viewportToImageCoordinates(
const center = image1.viewportToImageCoordinates(
this.OSDReference.viewport.getCenter(true),
);
const flipped = this.OSDReference.viewport.getFlip();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment