Skip to content
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

Add free text annotation font size update when resizing #998

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

mvasilak
Copy link
Contributor

When user resizes a free text annotation, potential font size change is not communicated in the notification received by PSPDFKit (using notification.userInfo?[PSPDFAnnotationChangedNotificationKeyPathKey]), and therefore is not synced. Updating fontSize whenever a free text annotation has a boundingBox change, even if font size didn't change, fixes this on our side.

I'll also report this to PSPDFKit, as it seems an omission on their side.

@mvasilak mvasilak merged commit bee68f0 into zotero:master Aug 21, 2024
1 check passed
@mvasilak mvasilak deleted the fix-free-text-annotation-resize branch August 21, 2024 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants