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

@@ -1377,10 +1377,11 @@ class PlPlayerController {
fsProcessing = false;
return;
}
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))) {
await verticalScreenForTwoSeconds();
} else {
await landScape();