feat(measurementService): use the new api for annotation manager in cs3d (#3206)
* fix OHIF to use the new api for annotation manager in cs3d * bump package versions * fix tests * remove unnecessary code
This commit is contained in:
1 parent
35d0787211
commit
38d452e17d
12 files changed
+40
-43
No files matched your search
@@ -99,7 +99,7 @@ describe('OHIF MPR', () => {
|
||||
cy.window()
|
||||
.its('cornerstoneTools')
|
||||
.then(cornerstoneTools => {
|
||||
const state = cornerstoneTools.annotation.state.getDefaultAnnotationManager();
|
||||
const state = cornerstoneTools.annotation.state.getAnnotationManager();
|
||||
|
||||
const fORMap = state.annotations;
|
||||
// it should not have crosshairs yet
|
||||
@@ -117,7 +117,7 @@ describe('OHIF MPR', () => {
|
||||
cy.window()
|
||||
.its('cornerstoneTools')
|
||||
.then(cornerstoneTools => {
|
||||
const state = cornerstoneTools.annotation.state.getDefaultAnnotationManager();
|
||||
const state = cornerstoneTools.annotation.state.getAnnotationManager();
|
||||
|
||||
const fORMap = state.annotations;
|
||||
const fOR = Object.keys(fORMap)[0];
|
||||
|
||||
Reference in new issue
Block a user