Closed jonathanolson closed 9 years ago
Because link() is called on the angle property, oldAngle is null the first time it is triggered. Please lazyLink if that is desired, or explicitly handle the null case (instead of adding and multiplying with null).
Change link() to lazyLink() call for angleProperty. Reassign to @jonathanolson for verification.
Looks good, thanks!
Because link() is called on the angle property, oldAngle is null the first time it is triggered. Please lazyLink if that is desired, or explicitly handle the null case (instead of adding and multiplying with null).