Explorar el Código

1.修改拖动进度条改变当前播放进度

wenweiwei hace 3 años
padre
commit
7b2f2a4f74
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      BFCommonKit/Classes/BFBase/View/PQSlideView.swift

+ 2 - 0
BFCommonKit/Classes/BFBase/View/PQSlideView.swift

@@ -177,6 +177,8 @@ public class PQSlideView: UIView {
             valueChangeBloc!(sender)
         }
         isDragingProgressSlder = false
+        progressValue = sender.value * duration
+        addData()
     }
 
     @objc public func btnClick(sender: UIButton) {