Mercurial > hg > ugly-duckling
diff src/app/waveform/waveform.component.ts @ 221:f3ff5ee994a1
With card layout, these can be full-height again
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Thu, 30 Mar 2017 16:46:48 +0100 |
parents | e72e74453581 |
children | 990b0fc68653 0833ddde6a83 |
line wrap: on
line diff
--- a/src/app/waveform/waveform.component.ts Thu Mar 30 16:31:45 2017 +0100 +++ b/src/app/waveform/waveform.component.ts Thu Mar 30 16:46:48 2017 +0100 @@ -540,8 +540,8 @@ const gridTrack = this.timeline.getTrackById(`grid-${this.trackIdPrefix}`); const spectrogramLayer = new WavesSpectrogramLayer(buffer, { - top: height * 0.05, - height: height * 0.9, + top: 0, + height: height, stepSize: 512, blockSize: 1024, normalise: 'none', @@ -717,8 +717,8 @@ stepDuration); let matrixLayer = new wavesUI.helpers.MatrixLayer(matrixEntity, { gain, - height: height * 0.9, - top: height * 0.05, + top: 0, + height: height, normalise: 'none', mapper: this.iceMapper() });