mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: add sent danmaku
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -530,8 +530,12 @@ class _SendDanmakuPanelState extends State<SendDanmakuPanel>
|
||||
widget.callback(
|
||||
DanmakuContentItem(
|
||||
_textController.text,
|
||||
color: Colors.white,
|
||||
type: DanmakuItemType.scroll,
|
||||
color: _color.value,
|
||||
type: switch (_mode.value) {
|
||||
5 => DanmakuItemType.top,
|
||||
4 => DanmakuItemType.bottom,
|
||||
_ => DanmakuItemType.scroll,
|
||||
},
|
||||
selfSend: true,
|
||||
),
|
||||
);
|
||||
@@ -575,6 +579,7 @@ class _SendDanmakuPanelState extends State<SendDanmakuPanel>
|
||||
),
|
||||
),
|
||||
content: SlideColorPicker(
|
||||
showResetBtn: false,
|
||||
color: _color.value,
|
||||
callback: (Color? color) {
|
||||
if (color != null) {
|
||||
|
||||
Reference in New Issue
Block a user