Browse Source

add the old api back for backporting

pull/6941/head
Jumar Macato 5 years ago
parent
commit
055cf64660
No known key found for this signature in database GPG Key ID: 85076C4D9D3155A3
  1. 6
      src/Avalonia.Animation/Animation.cs

6
src/Avalonia.Animation/Animation.cs

@ -353,6 +353,12 @@ namespace Avalonia.Animation
return new CompositeDisposable(subscriptions); return new CompositeDisposable(subscriptions);
} }
/// <inheritdoc/>
public Task RunAsync(Animatable control, IClock clock = null)
{
return RunAsync(control,clock, default);
}
/// <inheritdoc/> /// <inheritdoc/>
public Task RunAsync(Animatable control, IClock clock = null, CancellationToken cancellationToken = default) public Task RunAsync(Animatable control, IClock clock = null, CancellationToken cancellationToken = default)
{ {

Loading…
Cancel
Save