# HG changeset patch # User Lucas Thompson # Date 1496669236 -3600 # Node ID 24df6a0d61c8b5b5cb003d7001ab425f9e1a6b65 # Parent 89674c064cda9f914fcea5a18a98df84bfa9faf0 No need for this opaque bodge anymore, base uses prop instead. diff -r 89674c064cda -r 24df6a0d61c8 src/app/visualisations/waveform/waveform.component.ts --- a/src/app/visualisations/waveform/waveform.component.ts Mon Jun 05 14:25:54 2017 +0100 +++ b/src/app/visualisations/waveform/waveform.component.ts Mon Jun 05 14:27:16 2017 +0100 @@ -18,7 +18,6 @@ }) export class WaveformComponent extends WavesComponent { @Input() set audioBuffer(buffer: AudioBuffer) { - this.duration = buffer.duration; this.timeline.pixelsPerSecond = this.timeline.visibleWidth / buffer.duration; this.feature = buffer; }