From 98f1ac2e94be9477878cd7882a03f35c7cd07bc6 Mon Sep 17 00:00:00 2001 From: Xiao Gui <xgui3783@gmail.com> Date: Fri, 13 May 2022 07:52:24 +0200 Subject: [PATCH] fix lint --- .../annotations/annotation.service.ts | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/atlasComponents/annotations/annotation.service.ts b/src/atlasComponents/annotations/annotation.service.ts index 900861ad7..ec352e5fb 100644 --- a/src/atlasComponents/annotations/annotation.service.ts +++ b/src/atlasComponents/annotations/annotation.service.ts @@ -171,19 +171,19 @@ export class AnnotationLayer { const needSanitizePosition = voxelSize[0] !== 1 || voxelSize[1] !== 1 || voxelSize[2] !== 1 const overwrite: Partial<_AnnotationSpec> = {} switch (spec.type) { - case "point": { - overwrite['type'] = 0 - break - } - case "line": { - overwrite['type'] = 1 - break - } - case "aabbox": { - overwrite['type'] = 2 - break - } - default: throw new Error(`overwrite type lookup failed for ${(spec as any).type}`) + case "point": { + overwrite['type'] = 0 + break + } + case "line": { + overwrite['type'] = 1 + break + } + case "aabbox": { + overwrite['type'] = 2 + break + } + default: throw new Error(`overwrite type lookup failed for ${(spec as any).type}`) } /** -- GitLab