Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-09 15:13:52 +08:00
parent 23db485183
commit dbb865d723
5 changed files with 9 additions and 6 deletions

View File

@@ -105,8 +105,8 @@ class _LiveRoomPageState extends State<LiveRoomPage>
maxWidth = size.width;
maxHeight = size.height;
isWindowMode = MaxScreenSize.isWindowMode(
width: maxWidth,
height: maxHeight,
width: maxWidth * plPlayerController.uiScale,
height: maxHeight * plPlayerController.uiScale,
);
isPortrait = size.isPortrait;
plPlayerController.screenRatio = maxHeight / maxWidth;