mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 19:28:27 +08:00
check selfdm
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -55,11 +55,12 @@ class PlDanmakuController {
|
||||
if (mergeDanmaku) {
|
||||
final count = counts[element.content];
|
||||
if (count != 1) {
|
||||
element.attr = count!;
|
||||
} else {
|
||||
element.clearAttr();
|
||||
element.count = count!;
|
||||
}
|
||||
}
|
||||
if (plPlayerController.isLogin) {
|
||||
element.isSelf = element.midHash == plPlayerController.midHash;
|
||||
}
|
||||
int pos = element.progress ~/ 100; //每0.1秒存储一次
|
||||
(dmSegMap[pos] ??= []).add(element);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user