Improve fullscreen animation

This commit is contained in:
Arkadiusz Fal
2022-08-06 15:27:34 +02:00
parent 8318b4c5fb
commit 5f5bd37bd4
5 changed files with 184 additions and 123 deletions

View File

@@ -811,7 +811,7 @@ final class PlayerModel: ObservableObject {
}
func toggleFullscreen(_ isFullScreen: Bool) {
controls.resetTimer()
controls.presentingControls = false
#if os(macOS)
if isFullScreen {