调整视频转码页面的线的alpha

This commit is contained in:
bluesea 2024-04-07 11:01:52 +08:00
parent 027ca5d44b
commit df5cf7feab
3 changed files with 5 additions and 5 deletions

View File

@ -247,11 +247,11 @@ class VRVideoTransformController: BaseController {
mLabel!.top = mCenView!.bottom + 32
mLabel!.left = 24
let maxHi = mBottomBtn!.top - mCenView!.bottom - 110
var hi = 62.0*5
let maxHi = mBottomBtn!.top - mCenView!.bottom - 110 + 20
var hi = 62.0*5+20
if(hi > maxHi){hi = maxHi}
// mTabView = CCSpatialPlayView.init(frame: CGRect(x: 24, y: mCenView!.bottom + 70, width: SCREEN_Width - 48, height: hi))
mTabView = CCSpatialPlayView.init(frame: CGRect(x: 0, y: mCenView!.bottom + 70, width: SCREEN_Width, height: hi))
mTabView = CCSpatialPlayView.init(frame: CGRect(x: 8, y: mCenView!.bottom + 70, width: SCREEN_Width-16, height: hi))
self.view.addSubview(mTabView!)
mTabView!.backgroundColor = UIColor.clear//UIColor.hexStringToColor(hexString: "#1F1E20")
// mTabView?.clipsToBounds = true

View File

@ -203,7 +203,7 @@ class CCSpatialPlayCell1: UITableViewCell {
mLine = UIView()
mLine!.frame = CGRect(x: 16, y: CCSpatialPlayCell1H - 0.5, width: CCSpatialPlayCell1W - 32, height: 0.5)
mLine!.backgroundColor = UIColor.colorWithRGB(_r: 255, _g: 255, _b: 255, alpha: 0.5)
mLine!.backgroundColor = UIColor.colorWithRGB(_r: 255, _g: 255, _b: 255, alpha: 0.2)
self.contentView.addSubview(mLine!)
}
@ -285,7 +285,7 @@ class CCSpatialPlayCell2: UITableViewCell {
mLine = UIView()
mLine!.frame = CGRect(x: 16, y: CCSpatialPlayCell1H - 0.5, width: CCSpatialPlayCell1W - 32, height: 0.5)
mLine!.backgroundColor = UIColor.colorWithRGB(_r: 255, _g: 255, _b: 255, alpha: 0.5)
mLine!.backgroundColor = UIColor.colorWithRGB(_r: 255, _g: 255, _b: 255, alpha: 0.2)
self.contentView.addSubview(mLine!)
}