Fixed preview color again

This commit is contained in:
Timo Bejan 2022-03-24 15:29:06 +02:00
parent 219dc21f29
commit c0d1b4c77b

View File

@ -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;