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
parent
commit
b02d0c2391
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Avalonia.Visuals/Animation/PageSlide.cs

2
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
}
)
{

Loading…
Cancel
Save