From 4d4575aabdbaebc0338376101d1c16d5b3bb1871 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Mon, 13 Jan 2025 00:28:27 +0800 Subject: [PATCH] feat: vip colorful danmaku Closes #148 Signed-off-by: bggRGjQaUbCoE --- lib/pages/danmaku/view.dart | 1 + pubspec.lock | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pages/danmaku/view.dart b/lib/pages/danmaku/view.dart index 75cb60be2..b256c2a30 100644 --- a/lib/pages/danmaku/view.dart +++ b/lib/pages/danmaku/view.dart @@ -113,6 +113,7 @@ class _PlDanmakuState extends State { ? Colors.white : DmUtils.decimalToColor(e.color), type: DmUtils.getPosition(e.mode), + isColorful: e.colorful == DmColorfulType.VipGradualColor, ), ); } diff --git a/pubspec.lock b/pubspec.lock index 802d6ea22..bd91b6097 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -252,7 +252,7 @@ packages: description: path: "." ref: main - resolved-ref: cc44bff7d1349350df3293a2dfb2b90b1f8e2c7b + resolved-ref: ca4b84d707d00ff040ea0d5d6839ee91c4887ac8 url: "https://github.com/bggRGjQaUbCoE/canvas_danmaku.git" source: git version: "0.2.5"