From 379157dcf19e28110a59bf8974bbc87ec117bccb Mon Sep 17 00:00:00 2001 From: Shallowmallow Date: Sat, 28 Sep 2024 14:36:03 +0200 Subject: [PATCH] Force component invalidation at end of animation --- haxe/ui/animation/AnimationBuilder.hx | 1 + 1 file changed, 1 insertion(+) diff --git a/haxe/ui/animation/AnimationBuilder.hx b/haxe/ui/animation/AnimationBuilder.hx index 6677caf1e..643896337 100644 --- a/haxe/ui/animation/AnimationBuilder.hx +++ b/haxe/ui/animation/AnimationBuilder.hx @@ -101,6 +101,7 @@ class AnimationBuilder { var frames = new AnimationKeyFrames("builder", _keyFrames); target.registerEvent(AnimationEvent.END, function(e) { + target.invalidateComponent(); target._pauseAnimationStyleChanges = false; target._componentAnimation = null; target.unregisterEvents(AnimationEvent.END);