-
Notifications
You must be signed in to change notification settings - Fork 31
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
Text and Underline annotation support #809
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 looks good so far 👌
Interesting use of keyboard accessories, we could discuss if this UX is more appropriate for other annotation types as well. There is an issue of discoverability, I get those with double tap, is that correct?
FInally, a couple of times the text annotation drawing would zoom, without me changing anything about it. I only noticed after it happened, so I don’t have any hints as to what may have caused it. Dismissing and reopening the PDF, would restore what I expected.
Zotero/Scenes/Detail/PDF/Views/CustomFreeTextAnnotationView.swift
Outdated
Show resolved
Hide resolved
Zotero/Scenes/Detail/PDF/Views/CustomFreeTextAnnotationView.swift
Outdated
Show resolved
Hide resolved
Other annotations don't really use keyboard as their main way of editing though. For text it makes sense.
Yes. First tap is to select and the ability to move and scale text. Second tap is to confirm we actually want to edit text or its settings.
I'll try to reproduce, but it might be PSPDFKit issue. |
4d1f14b
to
df5c4fe
Compare
321ac89
to
41a2f1a
Compare
41a2f1a
to
385c05d
Compare
385c05d
to
64c92d4
Compare
64c92d4
to
6bfabfc
Compare
971d033
to
90a360c
Compare
87142d7
to
7e7a918
Compare
@mvasilak can you take another look at this? I updated and fixes some things, we'll be merging this with free text and underline annotations disabled in UI for the time being. |
cb1c68b
to
68b9b5e
Compare
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.
AnnotationViewController.swift
is not part of the project, is it still in use?
Icons for the new types are still missing, right?
68b9b5e
to
02d9e4a
Compare
Yes, I created a ticket for it #871. They won't be visible for now though. |
…d input accessory, improved text interaction
acc54bc
to
b69cf90
Compare
Closes #712