From a93244b2e673eaefaac5a48b94818dc716505082 Mon Sep 17 00:00:00 2001 From: Mousica Date: Fri, 17 Oct 2025 22:30:42 +0300 Subject: [PATCH] make opacity viewable but also allowing it to have transparency --- Sora/MediaUtils/CustomPlayer/CustomPlayer.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sora/MediaUtils/CustomPlayer/CustomPlayer.swift b/Sora/MediaUtils/CustomPlayer/CustomPlayer.swift index 3787a89..c3c98ca 100644 --- a/Sora/MediaUtils/CustomPlayer/CustomPlayer.swift +++ b/Sora/MediaUtils/CustomPlayer/CustomPlayer.swift @@ -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 } }