Skip to content

feat(highlights): Render highlight annotations#550

Merged
ConradJChan merged 5 commits intobox:masterfrom
ConradJChan:render-highlights
Aug 7, 2020
Merged

feat(highlights): Render highlight annotations#550
ConradJChan merged 5 commits intobox:masterfrom
ConradJChan:render-highlights

Conversation

@ConradJChan
Copy link
Contributor

@ConradJChan ConradJChan commented Aug 3, 2020

Screenshot:
Screen Shot 2020-08-06 at 12 17 42 AM

TODO:

  • unit tests
  • cross browser testing

@ChenCodes
Copy link
Contributor

Also in the screenshot it looks like the highlighted portion is little bit offset (it looks like it's higher than it should be). Will we eventually address this?

@ConradJChan
Copy link
Contributor Author

@ChenCodes yeah, unfortunately, this is a longstanding issue with PDFJS: mozilla/pdf.js#9316

@ConradJChan ConradJChan marked this pull request as ready for review August 5, 2020 22:37
@ConradJChan ConradJChan requested a review from a team as a code owner August 5, 2020 22:37
@mingzexiao6
Copy link
Contributor

Do we need to add FF guard for the new layers?

@ConradJChan
Copy link
Contributor Author

@mxiao6 I think FF isn't needed because creation is disabled so there should be no impact. Let me know if you disagree

@ConradJChan ConradJChan merged commit 3586412 into box:master Aug 7, 2020
@ConradJChan ConradJChan deleted the render-highlights branch August 7, 2020 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants