소스 검색

默认速度选择问题

jsonwang 3 년 전
부모
커밋
7c1695a12d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      BFFramework/Classes/Stuckpoint/Controller/PQStuckPointEditerController.swift

+ 1 - 1
BFFramework/Classes/Stuckpoint/Controller/PQStuckPointEditerController.swift

@@ -1746,7 +1746,7 @@ extension PQStuckPointEditerController {
 
          */
         // 1.2)生成快慢速的默认值
-        if selectedTotalDuration >= 120 && selectedTotalDuration <= 144 {
+        if selectedTotalDuration >= 120 && selectedTotalDuration <= 144 || selectedTotalDuration > 144 {
             lastSpeedSelectIndex = 5
         } else if selectedTotalDuration >= 70 && selectedTotalDuration < 120 {
             lastSpeedSelectIndex = 4