From 10a9ac813cda5ee97980f0e8e57235fbbe16ec26 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Thu, 7 Jul 2022 00:30:42 +0200 Subject: [PATCH] Unify overlay animation with other controls animation --- Shared/Player/PlayerGestures.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Shared/Player/PlayerGestures.swift b/Shared/Player/PlayerGestures.swift index f7535478..55e6477a 100644 --- a/Shared/Player/PlayerGestures.swift +++ b/Shared/Player/PlayerGestures.swift @@ -13,7 +13,7 @@ struct PlayerGestures: View { if model.presentingControlsOverlay { model.presentingControls = true model.resetTimer() - withAnimation { + withAnimation(PlayerControls.animation) { model.presentingControlsOverlay = false } } else { @@ -35,7 +35,7 @@ struct PlayerGestures: View { if model.presentingControlsOverlay { model.presentingControls = true model.resetTimer() - withAnimation { + withAnimation(PlayerControls.animation) { model.presentingControlsOverlay = false } } else { @@ -57,7 +57,7 @@ struct PlayerGestures: View { if model.presentingControlsOverlay { model.presentingControls = true model.resetTimer() - withAnimation { + withAnimation(PlayerControls.animation) { model.presentingControlsOverlay = false } } else {