diff --git a/src/components/AnnotationsModule.vue b/src/components/AnnotationsModule.vue index 22c0d3283..b85f0456c 100644 --- a/src/components/AnnotationsModule.vue +++ b/src/components/AnnotationsModule.vue @@ -4,13 +4,13 @@ import { storeToRefs } from 'pinia'; import { AnnotationToolType, Tools } from '@/src/store/tools/types'; import { useToolStore } from '@/src/store/tools'; import MeasurementsToolList from './MeasurementsToolList.vue'; -import LabelmapControls from './LabelmapControls.vue'; +import SegmentGroupControls from './SegmentGroupControls.vue'; import ToolControls from './ToolControls.vue'; import MeasurementRulerDetails from './MeasurementRulerDetails.vue'; const Tabs = { Measurements: 'measurements', - Labelmaps: 'labelmaps', + SegmentGroups: 'segmentGroups', }; const MeasurementTools = [ @@ -33,12 +33,12 @@ const MeasurementToolTypes = new Set( MeasurementTools.map(({ type }) => type) ); -const tab = ref('measurements'); +const tab = ref(Tabs.Measurements); const { currentTool } = storeToRefs(useToolStore()); function autoFocusTab() { if (currentTool.value === Tools.Paint) { - tab.value = Tabs.Labelmaps; + tab.value = Tabs.SegmentGroups; } else if (MeasurementToolTypes.has(currentTool.value)) { tab.value = Tabs.Measurements; } @@ -59,14 +59,14 @@ watch( Measurements - Labelmaps + Segment Groups - - + + diff --git a/src/components/LabelmapControls.vue b/src/components/SegmentGroupControls.vue similarity index 59% rename from src/components/LabelmapControls.vue rename to src/components/SegmentGroupControls.vue index d7f2f470b..6e86d08ec 100644 --- a/src/components/LabelmapControls.vue +++ b/src/components/SegmentGroupControls.vue @@ -1,59 +1,60 @@