mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: filter advanced dm
Closes #602 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -37,7 +37,10 @@ class PlDanmakuController {
|
||||
);
|
||||
if (result['status']) {
|
||||
if (result['data'].elems.isNotEmpty) {
|
||||
for (var element in result['data'].elems) {
|
||||
for (DanmakuElem element in result['data'].elems) {
|
||||
if (element.mode == 7) {
|
||||
continue;
|
||||
}
|
||||
int pos = element.progress ~/ 100; //每0.1秒存储一次
|
||||
if (dmSegMap[pos] == null) {
|
||||
dmSegMap[pos] = [];
|
||||
|
||||
Reference in New Issue
Block a user