From fb31f25f1f8a6d49e8e421ff77b670f22aba498e Mon Sep 17 00:00:00 2001 From: Ionite Date: Sat, 11 Nov 2023 01:24:05 -0500 Subject: [PATCH] Made animations faster --- .../Animations/BetterSlideNavigationTransition.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/StabilityMatrix.Avalonia/Animations/BetterSlideNavigationTransition.cs b/StabilityMatrix.Avalonia/Animations/BetterSlideNavigationTransition.cs index 44796451..183538a1 100644 --- a/StabilityMatrix.Avalonia/Animations/BetterSlideNavigationTransition.cs +++ b/StabilityMatrix.Avalonia/Animations/BetterSlideNavigationTransition.cs @@ -112,18 +112,18 @@ public class BetterSlideNavigationTransition : BaseTransitionInfo public static BetterSlideNavigationTransition PageSlideFromLeft => new() { - Duration = TimeSpan.FromMilliseconds(400), + Duration = TimeSpan.FromMilliseconds(300), Effect = SlideNavigationTransitionEffect.FromLeft, FromHorizontalOffset = 150, - Easing = new SplineEasing(0.7, 0.4, 0.1, 0.2) + Easing = new SplineEasing(0.6, 0.4, 0.1, 0.1) }; public static BetterSlideNavigationTransition PageSlideFromRight => new() { - Duration = TimeSpan.FromMilliseconds(400), + Duration = TimeSpan.FromMilliseconds(300), Effect = SlideNavigationTransitionEffect.FromRight, FromHorizontalOffset = 150, - Easing = new SplineEasing(0.7, 0.4, 0.1, 0.2) + Easing = new SplineEasing(0.6, 0.4, 0.1, 0.1) }; }