# HG changeset patch # User Chris Cannam # Date 1493402041 -3600 # Node ID 4cfd6258b9583dd698b4527d070c33596b1d6112 # Parent 4470c94b470eefa21632cb3352db36890ca39188 Pin waves-ui revision; fix ScaleLayer ctor call diff -r 4470c94b470e -r 4cfd6258b958 package.json --- 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": { diff -r 4470c94b470e -r 4cfd6258b958 src/app/waveform/waveform.component.ts --- 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 ]