mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-18 15:12:09 +00:00
fixed player so @Seeike doesnt complain
This commit is contained in:
parent
d52f811ac5
commit
3635fe377f
1 changed files with 4 additions and 1 deletions
|
|
@ -1038,6 +1038,7 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
|
|||
skipIntroButton.setImage(introImage, for: .normal)
|
||||
|
||||
skipIntroButton.backgroundColor = UIColor(red: 51/255.0, green: 51/255.0, blue: 51/255.0, alpha: 0.8)
|
||||
skipIntroButton.contentEdgeInsets = UIEdgeInsets(top: 6, left: 10, bottom: 6, right: 10)
|
||||
skipIntroButton.tintColor = .white
|
||||
skipIntroButton.setTitleColor(.white, for: .normal)
|
||||
skipIntroButton.layer.cornerRadius = 21
|
||||
|
|
@ -1069,6 +1070,7 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
|
|||
skipOutroButton.setImage(outroImage, for: .normal)
|
||||
|
||||
skipOutroButton.backgroundColor = UIColor(red: 51/255.0, green: 51/255.0, blue: 51/255.0, alpha: 0.8)
|
||||
skipOutroButton.contentEdgeInsets = UIEdgeInsets(top: 6, left: 10, bottom: 6, right: 10)
|
||||
skipOutroButton.tintColor = .white
|
||||
skipOutroButton.setTitleColor(.white, for: .normal)
|
||||
skipOutroButton.layer.cornerRadius = 21
|
||||
|
|
@ -1089,7 +1091,7 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
|
|||
skipOutroButton.trailingAnchor.constraint(equalTo: sliderHostingController!.view.trailingAnchor),
|
||||
skipOutroButton.bottomAnchor.constraint(equalTo: sliderHostingController!.view.topAnchor, constant: -5),
|
||||
skipOutroButton.heightAnchor.constraint(equalToConstant: 40),
|
||||
skipOutroButton.widthAnchor.constraint(greaterThanOrEqualToConstant: 108)
|
||||
skipOutroButton.widthAnchor.constraint(greaterThanOrEqualToConstant: 104)
|
||||
])
|
||||
}
|
||||
|
||||
|
|
@ -1242,6 +1244,7 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
|
|||
skip85Button.setImage(image, for: .normal)
|
||||
|
||||
skip85Button.backgroundColor = UIColor(red: 51/255.0, green: 51/255.0, blue: 51/255.0, alpha: 0.8)
|
||||
skip85Button.contentEdgeInsets = UIEdgeInsets(top: 6, left: 10, bottom: 6, right: 10)
|
||||
skip85Button.tintColor = .white
|
||||
skip85Button.setTitleColor(.white, for: .normal)
|
||||
skip85Button.layer.cornerRadius = 21
|
||||
|
|
|
|||
Loading…
Reference in a new issue