opt live room

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-01 16:41:24 +08:00
parent dd5c2229b3
commit 53ef4219eb
11 changed files with 175 additions and 201 deletions

View File

@@ -190,10 +190,11 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
final isVertical = videoDetailController.isVertical.value;
final mode = plPlayerController?.mode;
late final size = Get.size;
if (!(mode == FullScreenMode.vertical ||
(mode == FullScreenMode.auto && isVertical) ||
(mode == FullScreenMode.ratio &&
(Get.height / Get.width < 1.25 || isVertical)))) {
(isVertical || size.height / size.width < 1.25)))) {
landScape();
}
});