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

关闭弹幕后再开启,已出现的弹幕会不在展示 #767

Open
1 task done
BennettChina opened this issue Feb 25, 2025 · 1 comment
Open
1 task done

关闭弹幕后再开启,已出现的弹幕会不在展示 #767

BennettChina opened this issue Feb 25, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@BennettChina
Copy link

issue 内容

目前是关闭弹幕再开启后之前已经展示的弹幕会被全部清屏,只能等后续的弹幕出现。这与常规的弹幕视频网站相比来说,这种方案应该是不合适的吧?是个需要优化的功能点。

提交前确认

  • issue 列表中,没有我的新功能需求 / 问题
@Predidit Predidit added the enhancement New feature or request label Feb 25, 2025
@Predidit
Copy link
Owner

这个问题很麻烦,和 flutter 的一些机制相关。

这里最方便的实现是隐藏已有弹幕而不是清除,但是隐藏的组件的绘制开销并不会降低,这样关闭弹幕一样有较快的电量消耗。

其他方案都需要较大幅度的改动弹幕库。

保持此问题开启以收集更多反馈,如果更多的人认为现在的行为不恰当,我会尝试重构。

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

No branches or pull requests

2 participants