소스 검색

fix 预览图x轴座标

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

+ 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 {