mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-30 23:58:13 +08:00
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user