From c30d02819e86fc61810213248372e2d2714f0830 Mon Sep 17 00:00:00 2001 From: hackermd Date: Fri, 29 Mar 2019 18:25:19 -0400 Subject: [PATCH] Return values of getters for roi visibility --- src/api.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api.js b/src/api.js index a7830a20..749f7942 100644 --- a/src/api.js +++ b/src/api.js @@ -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(); } }