mod: 进度条防抖 issues #362
This commit is contained in:
@ -733,6 +733,9 @@ class PlPlayerController {
|
|||||||
|
|
||||||
/// 隐藏控制条
|
/// 隐藏控制条
|
||||||
void _hideTaskControls() {
|
void _hideTaskControls() {
|
||||||
|
if (_timer != null) {
|
||||||
|
_timer!.cancel();
|
||||||
|
}
|
||||||
_timer = Timer(const Duration(milliseconds: 3000), () {
|
_timer = Timer(const Duration(milliseconds: 3000), () {
|
||||||
if (!isSliderMoving.value) {
|
if (!isSliderMoving.value) {
|
||||||
controls = false;
|
controls = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user