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

Fixes issue #499: calling getCharacterBoundsOnScreen on a paragraph w… #500

Merged
merged 1 commit into from
May 5, 2017

Conversation

neilccbrown
Copy link

…ith selection stops the selection being displayed.

The getCharacterBoundsOnScreen method borrows the selectionShape to do the calculation, but it was only taking a reference to the list beforehand, so the saved "copy" was getting wiped out and thus not restoring the selection properly afterwards. Simple fix: take copy of the list, not a reference.

…raph with selection stops the selection being displayed.

The getCharacterBoundsOnScreen method borrows the selectionShape to do the calculation, but it was only taking a reference to the list beforehand, so the saved "copy" was getting wiped out and thus not restoring the selection properly afterwards.  Simple fix: take copy of the list, not a reference.
@JordanMartinez JordanMartinez merged commit 77086ab into FXMisc:master May 5, 2017
@JordanMartinez
Copy link
Contributor

Thanks!

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.

2 participants