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

_dragStartHandler方法中元素不可见 是出于什么样的考虑 怎么样让他显示出来 #59

Open
tsj1107 opened this issue Feb 28, 2014 · 2 comments

Comments

@tsj1107
Copy link

tsj1107 commented Feb 28, 2014

_dragStartHandler方法中元素不可见 是出于什么样的考虑
除了改框架代码外有什么好的办法让他显示出来

@kener
Copy link
Contributor

kener commented Feb 28, 2014

因为drag时看到的那个是在hover层的,如果原来那个也能看到就会出现两个同样的shape了。
没用原来的shape做drag时显示是出于性能考虑,拖拽过程不至于造成对原shape所在层的刷新。
如要显示,除了改框架代码,可以自己捕捉dragStart时间添加一个一模一样的临时shape,dragend后删除就好

@tsj1107
Copy link
Author

tsj1107 commented Feb 28, 2014

我明白了 貌似代码被我改坏了 hover层有问题了

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

2 participants