mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -463,7 +463,7 @@ class _LiveRoomPageState extends State<LiveRoomPage>
|
||||
|
||||
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(
|
||||
|
||||
@@ -1222,7 +1222,7 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
|
||||
);
|
||||
}
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user