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

想要实现用滚轮事件修改时间精准度 有什么方法吗 #81

Closed
1980922803 opened this issue Oct 20, 2021 · 7 comments
Closed

Comments

@1980922803
Copy link

No description provided.

@w1301625107
Copy link
Owner

修改源码或手动把wheel 事件绑定到时间轴上

@1980922803
Copy link
Author

可以留个联系方式讨论一下吗。。

@1980922803
Copy link
Author

1980922803 commented Oct 21, 2021 via email

@w1301625107
Copy link
Owner

em,时间轴.addEventlistener('wheel',function(e){对e. deltaY处理一下转化成scale 这个prop 的变化就可以了}

@1980922803
Copy link
Author

1980922803 commented Oct 21, 2021 via email

@w1301625107
Copy link
Owner

我发个的这种方法不是改源代码的,你这个是ref 进去改了吗?组件外面改就可以了

@1980922803
Copy link
Author

1980922803 commented Oct 21, 2021 via email

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