feat: custom show vip danmaku

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-13 10:11:29 +08:00
parent 4d4575aabd
commit c63a32bd47
4 changed files with 16 additions and 1 deletions

View File

@@ -113,7 +113,10 @@ class _PlDanmakuState extends State<PlDanmaku> {
? Colors.white
: DmUtils.decimalToColor(e.color),
type: DmUtils.getPosition(e.mode),
isColorful: e.colorful == DmColorfulType.VipGradualColor,
isColorful: playerController.showVipDanmaku &&
e.colorful == DmColorfulType.VipGradualColor
? true
: null,
),
);
}