andy-goryachev / FxDock

Docking framework for JavaFX (Work in Progress)
Apache License 2.0
46 stars 15 forks source link

Fix drag & and drop incorrect position #10

Closed congluat closed 6 years ago

andy-goryachev commented 6 years ago

thank you for creating the pull request.

what is the issue being fixed here? could you provide steps to reproduce the issue?

congluat commented 6 years ago

When I drag and drop an component (A) to the left side of another component (B). A will be add to position 0, when it should be on the left of B

1/ I drop DemoHPane to the left of Browser image 2/ image

And if i drop it to the right side, it will be add to sp.getPaneCount() - 1;

andy-goryachev commented 6 years ago

thanks!