mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
@@ -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,
|
||||
),
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user