Browse Source

Pass the animatable's clock when applying animations.

pull/2661/head
Jumar Macato 7 years ago
parent
commit
d12e1ce281
No known key found for this signature in database GPG Key ID: B19884DAC3A5BF3F
  1. 2
      src/Avalonia.Styling/Styling/Style.cs

2
src/Avalonia.Styling/Styling/Style.cs

@ -131,7 +131,7 @@ namespace Avalonia.Styling
obsMatch = Observable.Return(true);
}
var sub = animation.Apply(animatable, null, obsMatch);
var sub = animation.Apply(animatable, animatable.Clock ?? null, obsMatch);
subs.Add(sub);
}
}

Loading…
Cancel
Save