diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue index 1a98ef19..71dc8bea 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue @@ -1577,7 +1577,7 @@ export default { }, segmentationModifiedCallback(evt) { const { detail } = evt; - let tools = [...this.ThresholdTools, ...this.tools] + let tools = [...this.ThresholdTools, ...this.tools, 'SphericalBrush'] if (!detail || detail.segmentIndex === 255 || !this.activeTool || !tools.includes(this.activeTool)) { return; } @@ -1642,12 +1642,12 @@ export default { contentMouseup() { try { // console.log("segment contentMouseup") - if (!this.drawing) return false if (this.timeoutId) { clearTimeout(this.timeoutId); this.timeoutId = null; } this.timeoutId = setTimeout(() => { + if (!this.drawing) return false this.timeoutId = null; this.drawing = false; let segmentGroup = this.segmentList.find(item => item.segmentationId === this.segmentationId)