reduce fullscreen sc duration

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-11-28 11:21:38 +08:00
parent 9ccaa3072b
commit 2ca5310825
2 changed files with 31 additions and 1 deletions

View File

@@ -459,7 +459,9 @@ class LiveRoomController extends GetxController {
final item = SuperChatItem.fromJson(obj['data']);
superChatMsg.insert(0, item);
if (isFullScreen || plPlayerController.isDesktopPip) {
fsSC.value = item;
fsSC.value = item.copyWith(
endTime: DateTime.now().millisecondsSinceEpoch ~/ 1000 + 10,
);
}
break;
case 'WATCHED_CHANGE':