Skip to content

Conversation

@jperedadnr
Copy link
Collaborator

Fixes #1506

It is a very weird issue that shouldn't happen. But in that case, this PR simply adds a null check and sets preDragThumbPoint to the coordinates first drag event.

@github-actions
Copy link

Hi jperedadnr,

Welcome to ControlsFX and thank you for taking time to contribute to this project.

We do not recognise you as a contributor. Can you please sign ControlsFX Individual Contributor Agreement: https://cla.controlsfx.org ?

@github-actions github-actions bot added the CLA label Jun 27, 2023
@abhinayagarwal abhinayagarwal self-requested a review June 27, 2023 13:27
@abhinayagarwal abhinayagarwal merged commit d141298 into controlsfx:master Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NPE: Cannot invoke "javafx.geometry.Point2D.getX()" because "this.preDragThumbPoint" is null

2 participants