From de029b70431bc31875d1d79ceca4f214f87e451e Mon Sep 17 00:00:00 2001 From: allllllllllla <447069443@139.com> Date: Fri, 11 Apr 2025 00:18:24 +0800 Subject: [PATCH] Adapt to 16:10 tablet (#660) * Update view.dart * Update view_v.dart --- lib/pages/live_room/view.dart | 2 +- lib/pages/video/detail/view_v.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pages/live_room/view.dart b/lib/pages/live_room/view.dart index d74f6ae9..3baaee0f 100644 --- a/lib/pages/live_room/view.dart +++ b/lib/pages/live_room/view.dart @@ -463,7 +463,7 @@ class _LiveRoomPageState extends State Widget get _buildBodyH { double videoWidth = - clampDouble(context.height / context.width * 1.04, 0.58, 0.75) * + clampDouble(context.height / context.width * 1.08, 0.58, 0.75) * context.width; return Expanded( child: Row( diff --git a/lib/pages/video/detail/view_v.dart b/lib/pages/video/detail/view_v.dart index 111e503b..66beeda2 100644 --- a/lib/pages/video/detail/view_v.dart +++ b/lib/pages/video/detail/view_v.dart @@ -1222,7 +1222,7 @@ class _VideoDetailPageVState extends State ); } double videoWidth = - clampDouble(context.height / context.width * 1.04, 0.5, 0.7) * + clampDouble(context.height / context.width * 1.08, 0.5, 0.7) * context.width; if (context.width >= 560) { videoWidth = min(videoWidth, context.width - 280);