From 203a997583c14c80633338d322a2d141fb542119 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Sun, 5 Oct 2025 11:10:16 +0800 Subject: [PATCH] opt exit desktop pip Signed-off-by: bggRGjQaUbCoE --- lib/plugin/pl_player/controller.dart | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/plugin/pl_player/controller.dart b/lib/plugin/pl_player/controller.dart index a2b3aaddf..a83871d6a 100644 --- a/lib/plugin/pl_player/controller.dart +++ b/lib/plugin/pl_player/controller.dart @@ -268,6 +268,16 @@ class PlPlayerController { windowManager.setMinimumSize(const Size(400, 700)), windowManager.setBounds(_lastWindowBounds), windowManager.setAlwaysOnTop(false), + setting.putAll({ + SettingBoxKey.windowSize: [ + _lastWindowBounds.width, + _lastWindowBounds.height, + ], + SettingBoxKey.windowPosition: [ + _lastWindowBounds.left, + _lastWindowBounds.top, + ], + }), ]); }