From aa94bf27ff2c97dabcb708a8f0e5a7caffee7d69 Mon Sep 17 00:00:00 2001 From: orz12 Date: Fri, 5 Jan 2024 13:56:10 +0800 Subject: [PATCH] =?UTF-8?q?opt:=20=E6=8E=A7=E5=88=B6=E6=9D=A1=E4=B8=8E?= =?UTF-8?q?=E5=B8=B8=E9=A9=BB=E8=BF=9B=E5=BA=A6=E6=9D=A1=E4=BA=92=E6=96=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/plugin/pl_player/view.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/plugin/pl_player/view.dart b/lib/plugin/pl_player/view.dart index 781fa614..b876ff70 100644 --- a/lib/plugin/pl_player/view.dart +++ b/lib/plugin/pl_player/view.dart @@ -602,6 +602,9 @@ class _PLVideoPlayerState extends State final int value = _.sliderPositionSeconds.value; final int max = _.durationSeconds.value; final int buffer = _.bufferedSeconds.value; + if (_.showControls.value) { + return Container(); + } if (defaultBtmProgressBehavior == BtmProgresBehavior.alwaysHide.code) { return Container();