Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2026-01-03 11:00:55 +08:00
parent bcacc41db3
commit cfb72f27ac
6 changed files with 13 additions and 2 deletions

View File

@@ -267,6 +267,7 @@ class _LiveRoomPageState extends State<LiveRoomPage>
plPlayerController: plPlayerController,
isFullScreen: isFullScreen,
isPipMode: plPlayerController.isDesktopPip || isPipMode,
size: Size(width, height),
),
);
}
@@ -988,6 +989,7 @@ class LiveDanmaku extends StatefulWidget {
final PlPlayerController plPlayerController;
final bool isPipMode;
final bool isFullScreen;
final Size size;
const LiveDanmaku({
super.key,
@@ -995,6 +997,7 @@ class LiveDanmaku extends StatefulWidget {
required this.plPlayerController,
this.isPipMode = false,
required this.isFullScreen,
required this.size,
});
@override
@@ -1032,6 +1035,7 @@ class _LiveDanmakuState extends State<LiveDanmaku> {
plPlayerController.danmakuController = e;
},
option: DanmakuOptions.get(notFullscreen: widget.notFullscreen),
size: widget.size,
),
);
},