Prechádzať zdrojové kódy

fix 预览图x轴座标

huzhiqiang 3 rokov pred
rodič
commit
f0bf49d709

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

@@ -920,7 +920,7 @@ class PQStuckPointEditerController: PQBaseViewController {
             } else {
                 // 竖屏
                 let playerViewWidth = (CGFloat(w) / CGFloat(h)) * playerShowHeight
-                showRect = CGRect(x: (cScreenWidth - playerShowHeight) / 2, y: 0, width: playerViewWidth, height: playerShowHeight)
+                showRect = CGRect(x: (cScreenWidth - playerViewWidth) / 2, y: 0, width: playerViewWidth, height: playerShowHeight)
             }
         }
         if showRect.size.width == showRect.size.height {