Skip to content

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

Merged
JordanMartinez merged 1 commit intoFXMisc:masterfrom
neilccbrown:selection-fix
May 5, 2017
Merged

Fixes issue #499: calling getCharacterBoundsOnScreen on a paragraph w…#500
JordanMartinez merged 1 commit intoFXMisc:masterfrom
neilccbrown:selection-fix

Conversation

@neilccbrown
Copy link
Copy Markdown

…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
Copy Markdown
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