Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-10-13 13:44:32 +08:00
parent ed8c39aa76
commit 84d5a24bc3
2 changed files with 2 additions and 2 deletions

View File

@@ -968,7 +968,7 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
double width = double width =
clampDouble(maxHeight / maxWidth * 1.08, 0.5, 0.7) * maxWidth; clampDouble(maxHeight / maxWidth * 1.08, 0.5, 0.7) * maxWidth;
if (maxWidth >= 560) { if (maxWidth >= 560) {
width = min(width, maxWidth - 280); width = maxWidth - clampDouble(maxWidth - width, 280, 425);
} }
final videoWidth = isFullScreen ? maxWidth : width; final videoWidth = isFullScreen ? maxWidth : width;
final double height = width * 9 / 16; final double height = width * 9 / 16;

View File

@@ -1110,7 +1110,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
final isMobile = Utils.isMobile; final isMobile = Utils.isMobile;
LongPressGestureRecognizer? _longPressRecognizer; LongPressGestureRecognizer? _longPressRecognizer;
LongPressGestureRecognizer get longPressRecognizer => LongPressGestureRecognizer get longPressRecognizer =>
(_longPressRecognizer ??= LongPressGestureRecognizer()) _longPressRecognizer ??= LongPressGestureRecognizer()
..onLongPressStart = ((_) => ..onLongPressStart = ((_) =>
plPlayerController.setLongPressStatus(true)) plPlayerController.setLongPressStatus(true))
..onLongPressEnd = ((_) => ..onLongPressEnd = ((_) =>