opt player

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-18 14:29:18 +08:00
parent 59bbe51702
commit ffd1747bb3

View File

@@ -1429,6 +1429,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
),
),
),
if (isMobile)
buildViewPointWidget(
plPlayerController,
4.25,
@@ -1691,7 +1692,11 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
],
);
if (!isMobile) {
return MouseRegion(
return Obx(
() => MouseRegion(
cursor: !plPlayerController.showControls.value && isFullScreen
? SystemMouseCursors.none
: MouseCursor.defer,
onEnter: (event) {
plPlayerController.controls = true;
},
@@ -1702,6 +1707,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
plPlayerController.controls = false;
},
child: child,
),
);
}
return child;