diff --git a/Zotero/Controllers/CommentIconDrawingController.swift b/Zotero/Controllers/CommentIconDrawingController.swift index 7a1813545..79a65c175 100644 --- a/Zotero/Controllers/CommentIconDrawingController.swift +++ b/Zotero/Controllers/CommentIconDrawingController.swift @@ -24,7 +24,7 @@ struct CommentIconDrawingController { let newBoundingBox = CGRect(origin: origin, size: size) context.clip(to: newBoundingBox, mask: colorizedCgImage) - color.setFill() + color.withAlphaComponent(0.5).setFill() context.fill(newBoundingBox) context.resetClip() diff --git a/Zotero/Models/AnnotationsConfig.swift b/Zotero/Models/AnnotationsConfig.swift index e2544a1e0..0b8317b0b 100644 --- a/Zotero/Models/AnnotationsConfig.swift +++ b/Zotero/Models/AnnotationsConfig.swift @@ -21,7 +21,7 @@ struct AnnotationsConfig { // Line width of image annotation in PDF document. static let imageAnnotationLineWidth: CGFloat = 2 // Size of note annotation in PDF document. - static let noteAnnotationSize: CGSize = CGSize(width: 22, height: 22) + static let noteAnnotationSize: CGSize = CGSize(width: 16, height: 16) static let positionSizeLimit = 65000 static let supported: PSPDFKit.Annotation.Kind = [.note, .highlight, .square, .ink] diff --git a/Zotero/Scenes/Detail/PDF/Models/NoteAnnotation.swift b/Zotero/Scenes/Detail/PDF/Models/NoteAnnotation.swift index eaedf08d8..3b2739800 100644 --- a/Zotero/Scenes/Detail/PDF/Models/NoteAnnotation.swift +++ b/Zotero/Scenes/Detail/PDF/Models/NoteAnnotation.swift @@ -24,7 +24,7 @@ final class NoteAnnotation: PSPDFKit.NoteAnnotation { guard let colorizedCgImage = colorizedImage.cgImage, let outlineCgImage = outlineImage.cgImage, let color = self.color else { return } context.clip(to: boundingBox, mask: colorizedCgImage) - color.setFill() + color.withAlphaComponent(0.5).setFill() context.fill(boundingBox) context.resetClip()