-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve annotation comment icon drawing #847
Improve annotation comment icon drawing #847
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code-wise it's fine, @dstillman @yexingsha can you say anything to the aesthetic side?
I think we went with 0.5 opacity on desktop, and using a thinner line can definitely help. See zotero/zotero#3640 Also, are both examples using the same opacity? It looks like the blue annotation icon has much darker lines. |
9039236
to
409f18e
Compare
I took some inspiration from the desktop client, and re-implemented the drawing without image masks. We can easily make any further adjustments needed. ![]() The issue with the darker lines for image annotations, compared to highlight ones, remains. It seems there is some difference in the two contexts, but I couldn't find it. @michalrentka any ideas? |
@mvasilak check |
e66313c
to
57b8b78
Compare
@michalrentka ready for another look Note annotations now use the same code to draw a similar icon with different parameters. Of course, due to using the PSPDFKit note annotation, in iOS it is of a fixed size, and it doesn't scale according to zoom level, as in the desktop client. |
Prompted by this forum comment
I tried to make the annotation comment more inline with Z7, by
Examples:

We could also update the comment outline image, that is being used as one of the masks, to have thinner lines.