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

Added test and anchor properties fix #877

Merged
merged 1 commit into from
Nov 26, 2019
Merged

Added test and anchor properties fix #877

merged 1 commit into from
Nov 26, 2019

Conversation

Jugen
Copy link
Collaborator

@Jugen Jugen commented Nov 26, 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.

Replacing Boolean with BooleanEvent which is just a local POJO that holds an immutable boolean produces the desired behavior.

@Jugen Jugen merged commit 50ec050 into FXMisc:master Nov 26, 2019
@Jugen Jugen deleted the anchor_properties_fix branch November 26, 2019 08:10
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