Mercurial > hg > ugly-duckling
changeset 413:24df6a0d61c8
No need for this opaque bodge anymore, base uses prop instead.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Mon, 05 Jun 2017 14:27:16 +0100 |
parents | 89674c064cda |
children | 0329495fd822 |
files | src/app/visualisations/waveform/waveform.component.ts |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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<AudioBuffer> { @Input() set audioBuffer(buffer: AudioBuffer) { - this.duration = buffer.duration; this.timeline.pixelsPerSecond = this.timeline.visibleWidth / buffer.duration; this.feature = buffer; }