Mercurial > hg > ugly-duckling
changeset 265:4cfd6258b958
Pin waves-ui revision; fix ScaleLayer ctor call
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Fri, 28 Apr 2017 18:54:01 +0100 |
parents | 4470c94b470e |
children | 88ac87b1800e |
files | package.json src/app/waveform/waveform.component.ts |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/package.json Fri Apr 28 16:04:17 2017 +0100 +++ b/package.json Fri Apr 28 18:54:01 2017 +0100 @@ -27,7 +27,7 @@ "piper": "github:piper-audio/piper-js", "requirejs": "^2.3.3", "rxjs": "^5.1.0", - "waves-ui": "github:cannam/waves-ui", + "waves-ui": "github:cannam/waves-ui#a4a7cf772ded40ffc95c880c94e5eb6a634b096b", "zone.js": "0.8.7" }, "devDependencies": {
--- a/src/app/waveform/waveform.component.ts Fri Apr 28 16:04:17 2017 +0100 +++ b/src/app/waveform/waveform.component.ts Fri Apr 28 18:54:01 2017 +0100 @@ -648,7 +648,7 @@ waveTrack, this.timeline.timeContext ); - const scaleLayer = new wavesUI.helpers.ScaleLayer(plotData, { + const scaleLayer = new wavesUI.helpers.ScaleLayer({ color: colour, height: height, yDomain: [ min, max ]