Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

删除连线后,撤回删除,重新恢复的连线无法再用拖动的方式删除 #968

Open
2004localboy opened this issue Sep 14, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@2004localboy
Copy link

The current behavior

  1. 删除连线的时候把targetEndpoint的_tmpType置成了undefined

image

  1. 撤回删除 -> 恢复连线(addEdges)的时候,走的是”link已存在“逻辑,此时并没有对type或者_tmpType重新处理,导致线恢复了但无法再用拖动endpoint的方式进行删除

image

Your environment(such as: Butterfly version、Browser version、OS and so on)

Butterfly version: 4.3.28

Steps To Reproduce, Maybe you can provide a simple demo.

image

@2004localboy 2004localboy added the bug Something isn't working label Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant