feat: special danmaku by @My-Responsitories

Closes #91
Closes #219
Closes #394
Closes #602
Closes #613

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-05 16:32:23 +08:00
parent 08dc04f874
commit b02e6c04b9
8 changed files with 48 additions and 27 deletions

View File

@@ -38,7 +38,7 @@ class PlDanmakuController {
if (result['status']) {
if (result['data'].elems.isNotEmpty) {
for (DanmakuElem element in result['data'].elems) {
if (element.mode == 7) {
if (element.mode == 7 && !plPlayerController.showSpecialDanmaku) {
continue;
}
int pos = element.progress ~/ 100; //每0.1秒存储一次