调整视频转码页面的线的alpha
This commit is contained in:
parent
027ca5d44b
commit
df5cf7feab
Binary file not shown.
@ -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
|
||||
|
||||
@ -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!)
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user