Skip to content

Commit

Permalink
Save input annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed Sep 12, 2024
1 parent c614696 commit 1b65f4f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/pacs/viewer.ui.annot.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,6 @@ test.dataModelUI.Annotation = function (app) {
saveButton.appendChild(document.createTextNode('\u{1F4BE}'));
saveButton.title = 'Save annnotation group';
saveButton.onclick = function () {
const layerGroup = app.getActiveLayerGroup();
const drawLayer = layerGroup.getActiveDrawLayer();
const drawController = drawLayer.getDrawController();
const annotationGroup = drawController.getAnnotationGroup();
const factory = new dwv.AnnotationGroupFactory();
const dicomElements = factory.toDicom(annotationGroup);
// write
Expand Down

0 comments on commit 1b65f4f

Please sign in to comment.