Skip to content

Added test and anchor properties fix#875

Merged
Jugen merged 1 commit intoFXMisc:masterfrom
Jugen:anchor_properties_fix
Nov 24, 2019
Merged

Added test and anchor properties fix#875
Jugen merged 1 commit intoFXMisc:masterfrom
Jugen:anchor_properties_fix

Conversation

@Jugen
Copy link
Copy Markdown
Collaborator

@Jugen Jugen commented Nov 24, 2019

Fixes #874 anchor properties not updating correctly if they have listeners attached.

The problem seems to come down to the internalStartedByAnchor Boolean property not firing on each invocation of setValue, but only when the actual value held changes.

The most non intrusive and safest fix, I feel, is to just toggle the Boolean property when needed in order to fire any relevant change listeners.

@Jugen Jugen merged commit d0efe97 into FXMisc:master Nov 24, 2019
@Jugen Jugen deleted the anchor_properties_fix branch November 24, 2019 16:00
@Jugen Jugen restored the anchor_properties_fix branch November 26, 2019 07:20
Jugen added a commit that referenced this pull request Nov 26, 2019
Jugen added a commit that referenced this pull request Nov 26, 2019
@Jugen
Copy link
Copy Markdown
Collaborator Author

Jugen commented Nov 26, 2019

This PR was reverted in favor of a better solution in PR #877

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.

caret and anchor stale after selectRange with listeners

1 participant