tesis-dynaware / graph-editor

Eclipse Public License 1.0
132 stars 42 forks source link

Bugfix/null safe dragmanager #40

Open Korimsoft opened 3 years ago

Korimsoft commented 3 years ago

Hi, I used Your library and there was a bug when drag&dropping multiple nodes - a NullPointerException was thrown. Since nodeLayoutXOffsets.get(node) was sometimes null. I fixed it provisionally by null-checking.