From c0d1b4c77b41d9f9133eedfd2ca671bf5eec6acc Mon Sep 17 00:00:00 2001 From: Timo Bejan Date: Thu, 24 Mar 2022 15:29:06 +0200 Subject: [PATCH] Fixed preview color again --- .../modules/file-preview/services/annotation-draw.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/red-ui/src/app/modules/file-preview/services/annotation-draw.service.ts b/apps/red-ui/src/app/modules/file-preview/services/annotation-draw.service.ts index a73ef55e3..89873fcaf 100644 --- a/apps/red-ui/src/app/modules/file-preview/services/annotation-draw.service.ts +++ b/apps/red-ui/src/app/modules/file-preview/services/annotation-draw.service.ts @@ -201,7 +201,7 @@ export class AnnotationDrawService { annotation.setCustomData('changeLog', String(annotationWrapper.isChangeLogEntry)); annotation.setCustomData('changeLogRemoved', String(annotationWrapper.isChangeLogRemoved)); annotation.setCustomData('opacity', String(annotation.Opacity)); - annotation.setCustomData('redactionColor', String(this.getColor('redaction', 'redaction'))); + annotation.setCustomData('redactionColor', String(this.getColor('redaction', 'preview'))); annotation.setCustomData('annotationColor', String(this.getColor(annotationWrapper.superType, annotationWrapper.type))); return annotation;