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

画布只能把节点拖到右下,不能左上问题 #84

Open
qq19990978 opened this issue Jun 26, 2024 · 0 comments
Open

画布只能把节点拖到右下,不能左上问题 #84

qq19990978 opened this issue Jun 26, 2024 · 0 comments

Comments

@qq19990978
Copy link

滴答滴答滴答滴答滴答滴答大大大
原因是 wfd-vue/src/behavior/dragPanelItemAddNode.js文件 第66行
if (p.x > 0 && p.y > 0) 此处代码只判断了右边与下边导致节点拖左上边加不到节点

方法 onMouseUp
if (p.x > 0 && p.y > 0) { this._addNode(p); }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant