Default `DrawableStoryboard` to a completed state to avoid state change on empty storyboards

This commit is contained in:
Dean Herbert 2021-06-18 16:08:49 +09:00
parent 7ef8eac773
commit 06d1bd971c
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ public class DrawableStoryboard : Container<DrawableStoryboardLayer>
/// </summary>
public IBindable<bool> HasStoryboardEnded => hasStoryboardEnded;
private readonly BindableBool hasStoryboardEnded = new BindableBool();
private readonly BindableBool hasStoryboardEnded = new BindableBool(true);
protected override Container<DrawableStoryboardLayer> Content { get; }