Kaynağa Gözat

fix loading的show()函数

harry 3 yıl önce
ebeveyn
işleme
cca5c57ad4

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

@@ -2035,7 +2035,7 @@ extension PQStuckPointEditerController {
                 lastSpeedSelectIndex = 0
             }
             
-            // 如果是再创作进来的原视频的模式
+            // 如果是再创作进来的原视频的模式
             if reCreateVideoData != nil {
                 BFLog(message: "是再创作进来的 \(reCreateVideoData!.rhythmMode)")
                 switch reCreateVideoData!.rhythmMode {
@@ -2081,7 +2081,7 @@ extension PQStuckPointEditerController {
                     editModelClick(sender: speedStuckBtn, reportLog: false)
 
                 } else {
-                    // 默认进入卡点模式
+                    // 默认进入跳跃卡点模式
                     editModelClick(sender: jumpPointBtn, reportLog: false)
 
                 }

+ 3 - 3
BFFramework/Classes/Stuckpoint/View/PQStuckPointLoadingView.swift

@@ -71,15 +71,15 @@ class PQStuckPointLoadingView: UIView {
         if self.superview != nil {
             return
         }
- 
+        UIApplication.shared.keyWindow?.addSubview(self)
+        loadingView.startAnimating()
+
     }
 
     /// 移除视图
     /// - Returns: <#description#>
     func removeMarskView() {
         loadingView.stopAnimating()
-        loadingView.layer.removeAllAnimations()
-        loadingView.removeFromSuperview()
      
         if self.superview != nil {
             removeFromSuperview()