mirror of
https://github.com/cranci1/Sora.git
synced 2026-01-11 20:10:24 +00:00
make opacity viewable but also allowing it to have transparency
This commit is contained in:
parent
4e10c8a466
commit
a93244b2e6
1 changed files with 2 additions and 2 deletions
|
|
@ -3604,7 +3604,7 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
|
|||
private func showVolumeOverlay() {
|
||||
volumeOverlay?.isHidden = false
|
||||
UIView.animate(withDuration: 0.2) {
|
||||
self.volumeOverlay?.alpha = 0.5
|
||||
self.volumeOverlay?.alpha = 0.8
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3624,7 +3624,7 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
|
|||
private func showBrightnessOverlay() {
|
||||
brightnessOverlay?.isHidden = false
|
||||
UIView.animate(withDuration: 0.2) {
|
||||
self.brightnessOverlay?.alpha = 0.5
|
||||
self.brightnessOverlay?.alpha = 0.8
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue