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