committed by
GitHub
1 changed files with 14 additions and 0 deletions
@ -0,0 +1,14 @@ |
|||
using System; |
|||
using Avalonia.Animation.Animators; |
|||
|
|||
namespace Avalonia.Animation |
|||
{ |
|||
/// <summary>
|
|||
/// Transition class that handles <see cref="AvaloniaProperty"/> with <see cref="bool"/> types.
|
|||
/// </summary>
|
|||
public class BoolTransition : Transition<bool> |
|||
{ |
|||
internal override IObservable<bool> DoTransition(IObservable<double> progress, bool oldValue, bool newValue) => |
|||
AnimatorDrivenTransition<bool, BoolAnimator>.Transition(Easing, progress, oldValue, newValue); |
|||
} |
|||
} |
|||
Loading…
Reference in new issue