opt: danmaku weight

This commit is contained in:
My-Responsitories
2026-04-10 02:49:53 +08:00
parent 3dee6a85e5
commit 68cf91274f
2 changed files with 3 additions and 4 deletions

View File

@@ -114,7 +114,9 @@ class _PlDanmakuState extends State<PlDanmaku> {
.getCurrentDanmaku(currentPosition);
if (currentDanmakuList != null) {
final blockColorful = DanmakuOptions.blockColorful;
final danmakuWeight = DanmakuOptions.danmakuWeight;
for (DanmakuElem e in currentDanmakuList) {
if (e.weight < danmakuWeight) return;
if (e.mode == 7) {
try {
_controller!.addDanmaku(