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

弹幕组件时遇到的一些问题,望能解决 #160

Open
daxiang-dev opened this issue Jan 2, 2019 · 1 comment
Open

弹幕组件时遇到的一些问题,望能解决 #160

daxiang-dev opened this issue Jan 2, 2019 · 1 comment
Assignees

Comments

@daxiang-dev
Copy link

1.在非chrome浏览器环境,弹幕移动时字体闪烁,猜测原因为:
当使用translate进行位移的时候,如果选择的值是不接近整数的小数(测试时,整数和接近整数的小数比如:1.89、1.9+的数不会出现模糊的情况),位移的元素字体和背景等都会出现模糊的情况。
参考链接:http://www.cnblogs.com/milo-wjh/p/6364138.html
2.浏览器cpu超过50%后,弹幕出现移动缓慢的现象

yandeqiang pushed a commit to Chimeejs/chimee-plugin-danmu that referenced this issue Jan 2, 2019
@yandeqiang
Copy link
Contributor

先改了一个整数问题, 性能问题这个我改下, 尽量不用计算位置的方式。 尽量使用原生的 css transition/animation 动画

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

3 participants