瀏覽代碼

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 = ""
         }