Skip to content

Commit

Permalink
Merge pull request #22 from dcmjs-org/bugfix/getter-return-values
Browse files Browse the repository at this point in the history
Fix return values of getters for roi visibility
  • Loading branch information
hackermd authored Mar 30, 2019
2 parents 20dd863 + c30d028 commit d794632
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -830,15 +830,15 @@ class VLWholeSlideMicroscopyImageViewer {
}

hideROIs() {
this[_drawingLayer].setVisible(false);
return this[_drawingLayer].setVisible(false);
}

showROIs() {
this[_drawingLayer].setVisible(true);
return this[_drawingLayer].setVisible(true);
}

get areROIsVisible() {
this[_drawingLayer].getVisible();
return this[_drawingLayer].getVisible();
}

}
Expand Down

0 comments on commit d794632

Please sign in to comment.