Skip to content

Commit

Permalink
fix: Update preview when animation is changed (#1132)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuto-trd authored Oct 23, 2024
1 parent 933831e commit 49f7a69
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Beutl.Engine/Graphics/Rendering/Renderable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ static Renderable()
AffectsRender<Renderable>(IsVisibleProperty);
}

protected Renderable()
{
AnimationInvalidated += (_, e) => RaiseInvalidated(e);
}

public bool IsVisible
{
get => _isVisible;
Expand Down

0 comments on commit 49f7a69

Please sign in to comment.