Browse Source
Merge pull request #1886 from AvaloniaUI/fix-carousel-slide-dir
Quickfix: Flip the sign on the outgoing carousel animation.
pull/1884/merge
Jeremy Koritzinsky
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
|
} |
|
|
|
) |
|
|
|
{ |
|
|
|
|