# HG changeset patch # User Lucas Thompson # Date 1496164795 -3600 # Node ID f967cb22a37a21d28bbd01aeafc50de9bf2d297d # Parent f122bb02c42832b2e20986dcf11b686c906f4132 Clear when updating, not functional difference in this app as it stands because components only receive inputs once atm. diff -r f122bb02c428 -r f967cb22a37a src/app/visualisations/curve/curve.component.ts --- a/src/app/visualisations/curve/curve.component.ts Tue May 30 18:14:05 2017 +0100 +++ b/src/app/visualisations/curve/curve.component.ts Tue May 30 18:19:55 2017 +0100 @@ -57,6 +57,7 @@ update(): void { if (this.waveTrack) { + this.clearTimeline(this.trackDiv); for (const feature of this.currentState) { const lineLayer = new Waves.helpers.LineLayer(feature.data, { color: feature.color,