diff --git a/app/src/main/kotlin/xyz/mpv/rex/ui/player/controls/PlayerControls.kt b/app/src/main/kotlin/xyz/mpv/rex/ui/player/controls/PlayerControls.kt index 1969f5135..5c95499dc 100644 --- a/app/src/main/kotlin/xyz/mpv/rex/ui/player/controls/PlayerControls.kt +++ b/app/src/main/kotlin/xyz/mpv/rex/ui/player/controls/PlayerControls.kt @@ -1626,22 +1626,12 @@ fun PlayerControls( AnimatedVisibility( visible = controlsShown && !areControlsLocked, enter = - if (!reduceMotion) { - slideInHorizontally( - animationSpec = tween( - durationMillis = 180, - easing = LinearOutSlowInEasing, - ), - ) { it / 3 } + - fadeIn( - tween( - durationMillis = 180, - easing = LinearOutSlowInEasing, - ), - ) - } else { + if (!reduceMotion) { + slideInHorizontally(playerControlsEnterAnimationSpec()) { it } + + fadeIn(playerControlsEnterAnimationSpec()) + } else { fadeIn(playerControlsEnterAnimationSpec()) - }, + }, exit = if (!reduceMotion) { slideOutHorizontally(playerControlsExitAnimationSpec()) { it } +