fix(tmtv): crosshairs should not have viewport indicators (#4197)
This commit is contained in:
1 parent
6e6ecd8709
commit
f85da32f34
14 files changed
+51
-59
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user