Skip to content

Commit

Permalink
dont add null builders
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Sep 9, 2024
1 parent 0d6f3c2 commit c9d96b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions haxe/ui/animation/AnimationSequence.hx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ class AnimationSequence {
}

public function add(builder:AnimationBuilder) {
if (builder == null) {
return;
}
builders.push(builder);
}

Expand Down

0 comments on commit c9d96b1

Please sign in to comment.