Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-10-20 14:20:13 +08:00
parent 23272d285b
commit 12c0ed5baf
2 changed files with 289 additions and 300 deletions

View File

@@ -460,12 +460,14 @@ class _LiveRoomPageState extends State<LiveRoomPage>
final isFullScreen = this.isFullScreen;
final bottomHeight = 70 + padding.bottom;
final topPadding = padding.top + kToolbarHeight;
final videoHeight = maxHeight - bottomHeight - topPadding;
final videoHeight = isFullScreen
? maxHeight - padding.top
: maxHeight - bottomHeight - topPadding;
return Stack(
clipBehavior: Clip.none,
children: [
Positioned.fill(
top: isFullScreen ? 0 : topPadding,
top: isFullScreen ? padding.top : topPadding,
bottom: isFullScreen ? 0 : bottomHeight,
child: videoPlayerPanel(
width: maxWidth,