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

Fix for itext clearing out the selection area #3538

Merged
merged 1 commit into from
Dec 17, 2016
Merged

Conversation

asturur
Copy link
Member

@asturur asturur commented Dec 17, 2016

closes #3505

There where errors and optimization possibilities:

  1. after a mouse up the text was redrawn, using a cachied copied. the code for drawing the selection was inside the cache creation, and so it was not executed during the faster drawing. this was the main error.

  2. after mouse up there was no need to re render, this is an optimization

  3. during keypresses of arrows where just the cursor selection changes, there is no need for a full canvas redraw. this is an optimization

@asturur asturur merged commit 41cc29a into master Dec 17, 2016
@asturur asturur deleted the textselection branch December 26, 2016 19:07
asturur added a commit that referenced this pull request Dec 28, 2016
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.

IText selection area can not see....
1 participant