Mercurial > hg > ugly-duckling
changeset 367:f967cb22a37a
Clear when updating, not functional difference in this app as it stands because components only receive inputs once atm.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Tue, 30 May 2017 18:19:55 +0100 |
parents | f122bb02c428 |
children | a8a6e8a4ec70 |
files | src/app/visualisations/curve/curve.component.ts |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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,