From dc36911e44c995ab6578dae69c3345ee738bb878 Mon Sep 17 00:00:00 2001 From: Jumar Macato Date: Mon, 10 Sep 2018 01:28:15 +0800 Subject: [PATCH] Flip the sign on the outgoing carousel animation. --- src/Avalonia.Visuals/Animation/PageSlide.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Visuals/Animation/PageSlide.cs b/src/Avalonia.Visuals/Animation/PageSlide.cs index e89c07a4a4..c5d43068c1 100644 --- a/src/Avalonia.Visuals/Animation/PageSlide.cs +++ b/src/Avalonia.Visuals/Animation/PageSlide.cs @@ -97,7 +97,7 @@ namespace Avalonia.Animation new Setter { Property = translateProperty, - Value = forward ? distance : -distance + Value = forward ? -distance : distance } ) {