fix(tmtv): crosshairs should not have viewport indicators (#4197)

This commit is contained in:
Alireza authored and GitHub committed 2024-05-31 11:14:55 -04:00
1 parent 6e6ecd8709
commit f85da32f34
14 files changed
+51 -59

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
import type { Button } from '@ohif/core/types';
import { defaults, ToolbarService, ViewportGridService } from '@ohif/core';
import { ToolbarService, ViewportGridService } from '@ohif/core';
const { createButton } = ToolbarService;
-2
View File
@@ -53,7 +53,6 @@ function modeFactory({ modeConfiguration }) {
customizationService,
hangingProtocolService,
displaySetService,
viewportGridService,
} = servicesManager.services;
const utilityModule = extensionManager.getModuleEntry(
@@ -97,7 +96,6 @@ function modeFactory({ modeConfiguration }) {
'WindowLevel',
'Crosshairs',
'Pan',
'SyncToggle',
]);
toolbarService.createButtonSection('ROIThresholdToolbox', [
'RectangleROIStartEndThreshold',
-6
View File
@@ -132,12 +132,6 @@ function _initToolGroups(
{
toolName: toolNames.Crosshairs,
configuration: {
viewportIndicators: true,
viewportIndicatorsConfig: {
circleRadius: 5,
xOffset: 0.95,
yOffset: 0.05,
},
disableOnPassive: true,
autoPan: {
enabled: false,