Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
增加渲染模式参数配置,默认 default 模式,支持 default、adaptive 两种模式。
该修改主要为了解决下游应用仓库 dd-danmaku 的 chen3861229/dd-danmaku#57 问题,也看到了作者您在 chen3861229/dd-danmaku#6 (comment) 指出当超出一屏后取模进行重叠渲染是有意设计,所以此处将是否重叠渲染做成了参数配置的形式,默认取模重叠渲染。
如果作者觉着此 PR 不合适的话,可以直接关闭该 PR,最后感谢作者开源该弹幕库。