mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
@@ -432,16 +432,18 @@ class LiveRoomController extends GetxController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void addDm(dynamic msg, [DanmakuContentItem<DanmakuExtra>? item]) {
|
void addDm(dynamic msg, [DanmakuContentItem<DanmakuExtra>? item]) {
|
||||||
messages.add(msg);
|
|
||||||
|
|
||||||
if (plPlayerController.showDanmaku) {
|
if (plPlayerController.showDanmaku) {
|
||||||
if (item != null) {
|
if (item != null) {
|
||||||
danmakuController?.addDanmaku(item);
|
danmakuController?.addDanmaku(item);
|
||||||
}
|
}
|
||||||
if (autoScroll && !disableAutoScroll.value) {
|
if (autoScroll && !disableAutoScroll.value) {
|
||||||
|
messages.add(msg);
|
||||||
scrollToBottom();
|
scrollToBottom();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
messages.addOnly(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
@pragma('vm:notify-debugger-on-exception')
|
@pragma('vm:notify-debugger-on-exception')
|
||||||
|
|||||||
@@ -801,7 +801,7 @@ packages:
|
|||||||
description:
|
description:
|
||||||
path: "."
|
path: "."
|
||||||
ref: "version_4.7.2"
|
ref: "version_4.7.2"
|
||||||
resolved-ref: "4e5dbc40d93c4deca7dfec9457598d9cc68f8f33"
|
resolved-ref: "81b8a71982f89b46fa868b315cd71ff6a6ddf895"
|
||||||
url: "https://github.com/bggRGjQaUbCoE/getx.git"
|
url: "https://github.com/bggRGjQaUbCoE/getx.git"
|
||||||
source: git
|
source: git
|
||||||
version: "4.7.2"
|
version: "4.7.2"
|
||||||
|
|||||||
Reference in New Issue
Block a user