fix: left right hotkeys and remove non working ones (#2922)
* fix: constant should be enums in cs3d * remove non working hotkeys for now
This commit is contained in:
1 parent
aec48b065c
commit
71f5fa8e2f
21 files changed
+168
-170
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { Types, Enums, CONSTANTS } from '@cornerstonejs/core';
|
||||
import { Types, Enums } from '@cornerstonejs/core';
|
||||
import getCornerstoneBlendMode from '../../utils/getCornerstoneBlendMode';
|
||||
import getCornerstoneOrientation from '../../utils/getCornerstoneOrientation';
|
||||
import getCornerstoneViewportType from '../../utils/getCornerstoneViewportType';
|
||||
@@ -137,7 +137,7 @@ class ViewportInfo {
|
||||
if (viewportOptionsEntry.viewportType?.toLowerCase() === VOLUME) {
|
||||
orientation = getCornerstoneOrientation(viewportOptionsEntry.orientation);
|
||||
} else {
|
||||
orientation = CONSTANTS.ORIENTATION.AXIAL;
|
||||
orientation = Enums.OrientationAxis.AXIAL;
|
||||
}
|
||||
|
||||
if (!toolGroupId) {
|
||||
|
||||
Reference in new issue
Block a user