opt desktop pip

Closes #1478

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-10-28 13:48:16 +08:00
parent 86beb879a2
commit 3b4e251034
6 changed files with 29 additions and 25 deletions

View File

@@ -2450,7 +2450,7 @@ class HeaderControlState extends State<HeaderControl> {
),
),
],
if (Platform.isAndroid || Utils.isDesktop)
if (Platform.isAndroid || (Utils.isDesktop && !isFullScreen))
SizedBox(
width: 42,
height: 34,

View File

@@ -180,7 +180,7 @@ class PlayerFocus extends StatelessWidget {
return true;
case LogicalKeyboardKey.keyP:
if (Utils.isDesktop && hasPlayer) {
if (Utils.isDesktop && hasPlayer && !isFullScreen) {
plPlayerController
..toggleDesktopPip()
..controlsLock.value = false;