fix: Use @cornerstonejs/adapters (#3116)
Also update the sort series to be consistent, using a single version of the series sort, and fix an issue with longitudinal mode export.
This commit is contained in:
1 parent
8edd4ec054
commit
0e1a58da79
18 files changed
+141
-53
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import dcmjs from 'dcmjs';
|
||||
import { adaptersSR } from '@cornerstonejs/adapters';
|
||||
|
||||
/**
|
||||
* Checks if dcmjs has support to determined tool
|
||||
@@ -7,7 +7,7 @@ import dcmjs from 'dcmjs';
|
||||
* @returns {boolean}
|
||||
*/
|
||||
const isToolSupported = toolName => {
|
||||
const adapter = dcmjs.adapters.Cornerstone3D;
|
||||
const adapter = adaptersSR.Cornerstone3D;
|
||||
return !!adapter[toolName];
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user