mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
opt live room
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user