mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-27 12:36:27 +08:00
@@ -1429,6 +1429,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
if (isMobile)
|
||||||
buildViewPointWidget(
|
buildViewPointWidget(
|
||||||
plPlayerController,
|
plPlayerController,
|
||||||
4.25,
|
4.25,
|
||||||
@@ -1691,7 +1692,11 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
|||||||
],
|
],
|
||||||
);
|
);
|
||||||
if (!isMobile) {
|
if (!isMobile) {
|
||||||
return MouseRegion(
|
return Obx(
|
||||||
|
() => MouseRegion(
|
||||||
|
cursor: !plPlayerController.showControls.value && isFullScreen
|
||||||
|
? SystemMouseCursors.none
|
||||||
|
: MouseCursor.defer,
|
||||||
onEnter: (event) {
|
onEnter: (event) {
|
||||||
plPlayerController.controls = true;
|
plPlayerController.controls = true;
|
||||||
},
|
},
|
||||||
@@ -1702,6 +1707,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
|||||||
plPlayerController.controls = false;
|
plPlayerController.controls = false;
|
||||||
},
|
},
|
||||||
child: child,
|
child: child,
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return child;
|
return child;
|
||||||
|
|||||||
Reference in New Issue
Block a user