mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt gesture
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -262,14 +262,16 @@ class PlPlayerController {
|
||||
late bool isDesktopPip = false;
|
||||
late Rect _lastWindowBounds;
|
||||
|
||||
void exitDesktopPip() {
|
||||
isDesktopPip = false;
|
||||
Offset initialFocalPoint = Offset.zero;
|
||||
|
||||
windowManager
|
||||
..setTitleBarStyle(TitleBarStyle.normal)
|
||||
..setMinimumSize(const Size(400, 700))
|
||||
..setBounds(_lastWindowBounds)
|
||||
..setAlwaysOnTop(false);
|
||||
Future<void> exitDesktopPip() async {
|
||||
isDesktopPip = false;
|
||||
await Future.wait([
|
||||
windowManager.setTitleBarStyle(TitleBarStyle.normal),
|
||||
windowManager.setMinimumSize(const Size(400, 700)),
|
||||
windowManager.setBounds(_lastWindowBounds),
|
||||
windowManager.setAlwaysOnTop(false),
|
||||
]);
|
||||
}
|
||||
|
||||
Future<void> enterDesktopPip() async {
|
||||
|
||||
Reference in New Issue
Block a user