gd-YAFSM icon indicating copy to clipboard operation
gd-YAFSM copied to clipboard

Moving a state around the grid causes it to snap back to the other last state position

Open Nukiloco opened this issue 2 years ago • 4 comments

Current version is v3.5.beta1.official [b9b23d222]

When moving a state item after moving another state item, the state item will snap to the position of the other state item.

Nukiloco avatar Mar 18 '22 16:03 Nukiloco

This seems to happen after when you click off and click back onto the state machine editor.

Nukiloco avatar Mar 18 '22 16:03 Nukiloco

Looked into the code, oddly enough this happens because when _drag_end_pos and _drag_start_pos is the same value, it will set the position to zero. I assume its somehow getting the position from the last item?

Nukiloco avatar Mar 18 '22 17:03 Nukiloco

Did you install gd-YAFSM from godot asset library? It sounds like #36 that has been fixed by #37 , though I haven't release it

You can try cloning this repository directly to see if the issue still persist

imjp94 avatar Mar 19 '22 04:03 imjp94

Cloned the master branch of the repository, i will see if the issue is still here.

Nukiloco avatar Mar 19 '22 09:03 Nukiloco