mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-04 09:40:09 +08:00
opt: danmaku weight
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user