freegroup / draw2d

Create Visio like drawings, diagrams or workflows with JavaScript and HTML5
https://freegroup.github.io/draw2d/#/examples
MIT License
734 stars 226 forks source link

Added 'target' to connection 'dragend' event #236

Open snakex64 opened 1 year ago

snakex64 commented 1 year ago

Added a 'target' value passed alongside the 'dragend' event of connections. This allows detecting when the 'drop' is ended on nothing. Used to open a menu at that point, like Unreal Engine does with blueprints

google-cla[bot] commented 1 year ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

snakex64 commented 1 year ago

I think I did the google CLA properly now. Not sure if it changes anything