mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -968,7 +968,7 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
|
||||
double width =
|
||||
clampDouble(maxHeight / maxWidth * 1.08, 0.5, 0.7) * maxWidth;
|
||||
if (maxWidth >= 560) {
|
||||
width = min(width, maxWidth - 280);
|
||||
width = maxWidth - clampDouble(maxWidth - width, 280, 425);
|
||||
}
|
||||
final videoWidth = isFullScreen ? maxWidth : width;
|
||||
final double height = width * 9 / 16;
|
||||
|
||||
@@ -1110,7 +1110,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
final isMobile = Utils.isMobile;
|
||||
LongPressGestureRecognizer? _longPressRecognizer;
|
||||
LongPressGestureRecognizer get longPressRecognizer =>
|
||||
(_longPressRecognizer ??= LongPressGestureRecognizer())
|
||||
_longPressRecognizer ??= LongPressGestureRecognizer()
|
||||
..onLongPressStart = ((_) =>
|
||||
plPlayerController.setLongPressStatus(true))
|
||||
..onLongPressEnd = ((_) =>
|
||||
|
||||
Reference in New Issue
Block a user