From f99e79faa8b5d0ab9a4f13780efd27c9c08c46d2 Mon Sep 17 00:00:00 2001 From: Jeremy Koritzinsky Date: Sat, 8 Sep 2018 17:54:10 -0500 Subject: [PATCH] Fix carousel animation crash --- src/Avalonia.Visuals/Animation/PageSlide.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Avalonia.Visuals/Animation/PageSlide.cs b/src/Avalonia.Visuals/Animation/PageSlide.cs index dc2c64f1c7..d6245a39fe 100644 --- a/src/Avalonia.Visuals/Animation/PageSlide.cs +++ b/src/Avalonia.Visuals/Animation/PageSlide.cs @@ -86,7 +86,7 @@ namespace Avalonia.Animation new Setter { Property = translateProperty, - Value = 0 + Value = 0.0 } ) { @@ -130,7 +130,7 @@ namespace Avalonia.Animation new Setter { Property = translateProperty, - Value = 0 + Value = 0.0 } ) {