Skip to content

Commit

Permalink
assertion bug fix to ensure all liveAnimations are cleared, #85
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Aug 2, 2023
1 parent 170469f commit 1f9c894
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/chart-intro/model/ChartIntroModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ class ChartIntroModel extends BANModel<ParticleNucleus> {
}
} );
super.reset();

// Put this last to make sure that this.particleAtom can be cleared first (by supertype).
this.miniParticleAtom.clear();
}

/**
Expand Down

0 comments on commit 1f9c894

Please sign in to comment.