Skip to content

Commit c30d028

Browse files
author
hackermd
committed
Return values of getters for roi visibility
1 parent 0150310 commit c30d028

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/api.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -830,15 +830,15 @@ class VLWholeSlideMicroscopyImageViewer {
830830
}
831831

832832
hideROIs() {
833-
this[_drawingLayer].setVisible(false);
833+
return this[_drawingLayer].setVisible(false);
834834
}
835835

836836
showROIs() {
837-
this[_drawingLayer].setVisible(true);
837+
return this[_drawingLayer].setVisible(true);
838838
}
839839

840840
get areROIsVisible() {
841-
this[_drawingLayer].getVisible();
841+
return this[_drawingLayer].getVisible();
842842
}
843843

844844
}

0 commit comments

Comments
 (0)