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

chore(highlights): Move HighlightListener to textLayer #585

Merged
merged 6 commits into from
Sep 10, 2020

Conversation

ConradJChan
Copy link
Contributor

@ConradJChan ConradJChan commented Sep 9, 2020

Split out the HighlightListener logic around mouse up/down events into a per page HighlightCreatorManager that attaches the mouse up/down event listeners to the text layer itself

TODO

  • unit tests

src/highlight/HighlightListener.ts Outdated Show resolved Hide resolved
src/highlight/HighlightListener.ts Outdated Show resolved Hide resolved
src/document/DocumentAnnotator.ts Outdated Show resolved Hide resolved
@ConradJChan ConradJChan force-pushed the move-highlight-listener branch 2 times, most recently from 6cb9799 to 10464d6 Compare September 10, 2020 04:35
@ConradJChan ConradJChan marked this pull request as ready for review September 10, 2020 05:31
@ConradJChan ConradJChan requested a review from a team as a code owner September 10, 2020 05:31
src/document/DocumentAnnotator.ts Outdated Show resolved Hide resolved
src/highlight/HighlightListener.ts Show resolved Hide resolved
@ConradJChan ConradJChan force-pushed the move-highlight-listener branch from 50b97d3 to 1c3801b Compare September 10, 2020 18:07
@mergify mergify bot merged commit c87bb8e into box:master Sep 10, 2020
@ConradJChan ConradJChan deleted the move-highlight-listener branch September 10, 2020 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants