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

brush刷子单击未拖动,出现错误,后续代码无法正常执行 #6

Open
xlzhangv opened this issue Oct 17, 2018 · 0 comments

Comments

@xlzhangv
Copy link

d3 Version 4.12.0版本中 4457行,快速单击左键不进行拖动。不能计算出selection的值,后续按正常操作,但无法再继续触发 brush和end事件。
个人在4450行,增加if(!selection) type='overlay';判断。

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