Преглед на файлове

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 {