File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ class CornerstoneViewport extends Component {
8686 // Init
8787 cornerstoneOptions : { } ,
8888 isStackPrefetchEnabled : false ,
89+ isOverlayVisible : true ,
8990 loadIndicatorDelay : 45 ,
9091 loadingIndicatorComponent : LoadingIndicator ,
9192 resizeThrottleMs : 200 ,
@@ -97,6 +98,7 @@ class CornerstoneViewport extends Component {
9798
9899 const imageIdIndex = props . imageIdIndex ;
99100 const imageId = props . imageIds [ imageIdIndex ] ;
101+ const isOverlayVisible = props . isOverlayVisible ;
100102
101103 this . state = {
102104 // Used for metadata lookup (imagePlane, orientation markers)
@@ -111,7 +113,7 @@ class CornerstoneViewport extends Component {
111113 scale : undefined ,
112114 windowWidth : undefined ,
113115 windowCenter : undefined ,
114- isOverlayVisible : true ,
116+ isOverlayVisible,
115117 // Orientation Markers
116118 rotationDegrees : undefined ,
117119 isFlippedVertically : undefined ,
You can’t perform that action at this time.
0 commit comments