소스 검색

Merge branch 'master' of https://git.yishihui.com/iOS/BFRecordScreenKit

* 'master' of https://git.yishihui.com/iOS/BFRecordScreenKit:
  打开字幕开关的时候 主动调用一次字幕显示
harry 3 년 전
부모
커밋
d7e7a718c7
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      BFRecordScreenKit/Classes/RecordScreen/Controller/BFRecordScreenController.swift

+ 2 - 0
BFRecordScreenKit/Classes/RecordScreen/Controller/BFRecordScreenController.swift

@@ -807,6 +807,8 @@ public class BFRecordScreenController: BFBaseViewController {
             } else { // 上
                 subtitleLabel.frame = CGRect(x: leftPoint, y: cScreenHeigth * 0.12, width: cScreenWidth - 37 * 2, height: height)
             }
+            //打开的时候主动调用一次显示字幕
+            updateSubtitle(time: currentAssetProgress)
         } else {
             subtitleLabel.text = ""
         }