Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-22 11:49:24 +08:00
parent 2efb04f77e
commit 4ca9dfecb4
7 changed files with 16 additions and 8 deletions

View File

@@ -672,8 +672,10 @@ class _LiveRoomPageState extends State<LiveRoomPage>
}
Widget get _buildBodyH {
final videoWidth =
double videoWidth =
clampDouble(maxHeight / maxWidth * 1.08, 0.56, 0.7) * maxWidth;
final rigthWidth = min(400.0, maxWidth - videoWidth - padding.horizontal);
videoWidth = maxWidth - rigthWidth;
final videoHeight = maxHeight - padding.top;
return Obx(
() {
@@ -707,7 +709,7 @@ class _LiveRoomPageState extends State<LiveRoomPage>
Offstage(
offstage: isFullScreen,
child: SizedBox(
width: maxWidth - videoWidth - padding.horizontal,
width: rigthWidth,
height: videoHeight,
child: _buildBottomWidget,
),