Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-10-30 17:32:18 +08:00
parent 1ac93d6269
commit f034c24d13
3 changed files with 6 additions and 4 deletions

View File

@@ -267,6 +267,7 @@ class PlPlayerController {
windowManager.setMinimumSize(const Size(400, 700)),
windowManager.setBounds(_lastWindowBounds),
windowManager.setAlwaysOnTop(false),
windowManager.setAspectRatio(0),
setting.putAll({
SettingBoxKey.windowSize: [
_lastWindowBounds.width,
@@ -302,7 +303,8 @@ class PlPlayerController {
await windowManager.setMinimumSize(size);
windowManager
..setSize(size)
..setAlwaysOnTop(true);
..setAlwaysOnTop(true)
..setAspectRatio(width / height);
}
void toggleDesktopPip() {