fix: mpr2d vtkjs viewport does not render if range is set to NaN values (#1157)

* chore: fix proptypes declaration

* fix: seperate helper method to calculate our initial range

* chore: remove unused import

* chore: update studies propType from object to array
This commit is contained in:
Danny Brown authored and James Petts committed 2019-11-11 09:38:36 +00:00
1 parent 2381810ba9
commit 84a097212b
2 files changed
+56 -15

No files matched your search

-1
View File
@@ -1,7 +1,6 @@
import {
vtkInteractorStyleMPRCrosshairs,
vtkInteractorStyleMPRWindowLevel,
vtkInteractorStyleMPRSlice,
vtkInteractorStyleMPRRotate,
vtkSVGCrosshairsWidget,
} from 'react-vtkjs-viewport';