From 71bb4b30d2da52376d77416904d42694cdacb896 Mon Sep 17 00:00:00 2001 From: guozhigq Date: Tue, 9 Jan 2024 08:23:55 +0800 Subject: [PATCH] =?UTF-8?q?mod:=20=E8=BF=9B=E5=BA=A6=E6=9D=A1=E9=98=B2?= =?UTF-8?q?=E6=8A=96=20issues=20#362?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/plugin/pl_player/controller.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/plugin/pl_player/controller.dart b/lib/plugin/pl_player/controller.dart index 14827222..16d5befd 100644 --- a/lib/plugin/pl_player/controller.dart +++ b/lib/plugin/pl_player/controller.dart @@ -733,6 +733,9 @@ class PlPlayerController { /// 隐藏控制条 void _hideTaskControls() { + if (_timer != null) { + _timer!.cancel(); + } _timer = Timer(const Duration(milliseconds: 3000), () { if (!isSliderMoving.value) { controls = false;