Commit f9e0f6b5d651d5912e4934fe9c6325d5128ea087
1 parent
268b74d6
横屏左横屏时显示不全的问题
Showing
1 changed file
with
3 additions
and
3 deletions
metaCode/Classes/Main/HuBiLieHomePage/View/VodDetail/CNLiveZFPlayerControlView.swift
| @@ -170,7 +170,7 @@ class CNLiveZFPlayerControlView:ZFPlayerControlView{ | @@ -170,7 +170,7 @@ class CNLiveZFPlayerControlView:ZFPlayerControlView{ | ||
| 170 | let min_x = CGFloat(self.landScapeControlView.bottomToolView.width) - min_w - ((isiPhoneXSeries && UIApplication.shared.statusBarOrientation.isLandscape) ? 44.0: min_margin) | 170 | let min_x = CGFloat(self.landScapeControlView.bottomToolView.width) - min_w - ((isiPhoneXSeries && UIApplication.shared.statusBarOrientation.isLandscape) ? 44.0: min_margin) |
| 171 | let min_y = 0.0 | 171 | let min_y = 0.0 |
| 172 | let min_h = 30.0 | 172 | let min_h = 30.0 |
| 173 | - self.landScapeControlView.totalTimeLabel.frame = CGRect(x: min_x-100, y: min_y, width: min_w, height: min_h) | 173 | + self.landScapeControlView.totalTimeLabel.frame = CGRect(x: min_x-130, y: min_y, width: min_w, height: min_h) |
| 174 | self.landScapeControlView.totalTimeLabel.centerY = self.landScapeControlView.playOrPauseBtn.centerY | 174 | self.landScapeControlView.totalTimeLabel.centerY = self.landScapeControlView.playOrPauseBtn.centerY |
| 175 | let min_x1 = self.landScapeControlView.currentTimeLabel.right + 4.0 | 175 | let min_x1 = self.landScapeControlView.currentTimeLabel.right + 4.0 |
| 176 | let min_y1 = 0.0 | 176 | let min_y1 = 0.0 |
| @@ -181,8 +181,8 @@ class CNLiveZFPlayerControlView:ZFPlayerControlView{ | @@ -181,8 +181,8 @@ class CNLiveZFPlayerControlView:ZFPlayerControlView{ | ||
| 181 | 181 | ||
| 182 | self.beiSuBtn.frame = CGRect(x: self.landScapeControlView.totalTimeLabel.right + 5.0, y: 0, width: 40, height: min_h1) | 182 | self.beiSuBtn.frame = CGRect(x: self.landScapeControlView.totalTimeLabel.right + 5.0, y: 0, width: 40, height: min_h1) |
| 183 | self.beiSuBtn.centerY = self.landScapeControlView.slider.centerY | 183 | self.beiSuBtn.centerY = self.landScapeControlView.slider.centerY |
| 184 | -// print("totalTimeLabel:\n \(self.landScapeControlView.totalTimeLabel)") | ||
| 185 | -// print("slider:\n \(self.landScapeControlView.slider)") | 184 | +// print("111111totalTimeLabel: \(self.landScapeControlView.totalTimeLabel)\n") |
| 185 | +// print("11111slider: \(self.landScapeControlView.slider)\n") | ||
| 186 | // print("xuanjiBtn:\n \(self.xuanjiBtn)") | 186 | // print("xuanjiBtn:\n \(self.xuanjiBtn)") |
| 187 | 187 | ||
| 188 | } | 188 | } |