jsonwang 3 vuotta sitten
vanhempi
commit
b400523348
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      BFFramework/Classes/Stuckpoint/View/PQSpeedSettingView.swift

+ 2 - 2
BFFramework/Classes/Stuckpoint/View/PQSpeedSettingView.swift

@@ -127,8 +127,8 @@ class PQSpeedSettingView: UIView {
         //发出回调,调用方走统一处理逻辑
         if selectSpeedCallBack != nil {
             BFLog(message: "选择的速度为 max: \(lastSelectModel?.maxSpeed ?? 0.0) min: \(lastSelectModel?.minSpeed ?? 0.0)")
-            if(lastSelectModel?.title == "自定义"){
-                selectSpeedCallBack!(-1,-1,index,isSettingPlayer)
+            if(lastSelectModel?.title == "自定义" || lastSelectModel?.title == "自定义\n快慢速"){
+                selectSpeedCallBack!(-1,-1,index,false)
             }else{
                 selectSpeedCallBack!(lastSelectModel?.maxSpeed ?? 0.0, lastSelectModel?.minSpeed ?? 0.0,index,isSettingPlayer)
             }