mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 19:14:42 +08:00
opt desktop pip
Closes #1478 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user