Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-16 09:20:42 +08:00
parent 0f2b0cc5f2
commit 25d27e42ed

View File

@@ -1110,12 +1110,12 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
// 头部、底部控制条 // 头部、底部控制条
Obx( Obx(
() => Positioned.fill( () => Positioned.fill(
child: ClipRect(
child: Column( child: Column(
children: [ children: [
if (widget.headerControl != null || if (widget.headerControl != null ||
plPlayerController.headerControl != null) plPlayerController.headerControl != null)
ClipRect( AppBarAni(
child: AppBarAni(
controller: animationController, controller: animationController,
visible: !plPlayerController.controlsLock.value && visible: !plPlayerController.controlsLock.value &&
plPlayerController.showControls.value, plPlayerController.showControls.value,
@@ -1123,7 +1123,6 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
child: widget.headerControl ?? child: widget.headerControl ??
plPlayerController.headerControl!, plPlayerController.headerControl!,
), ),
),
const Spacer(), const Spacer(),
if (plPlayerController.showControls.value) if (plPlayerController.showControls.value)
AppBarAni( AppBarAni(
@@ -1141,6 +1140,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
), ),
), ),
), ),
),
// if (BuildConfig.isDebug) // if (BuildConfig.isDebug)
// FilledButton.tonal( // FilledButton.tonal(