Mercurial > hg > ugly-duckling
changeset 266:88ac87b1800e
Layout tweaks
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 02 May 2017 18:10:51 +0100 |
parents | 4cfd6258b958 |
children | 79fa2c4c0fce 74f36b4777ff |
files | package.json src/app/waveform/waveform.component.ts |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/package.json Fri Apr 28 18:54:01 2017 +0100 +++ b/package.json Tue May 02 18:10:51 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#a4a7cf772ded40ffc95c880c94e5eb6a634b096b", + "waves-ui": "github:cannam/waves-ui#b7675bcb81fc79a8b24eff2e1e3606a754df88aa", "zone.js": "0.8.7" }, "devDependencies": {
--- a/src/app/waveform/waveform.component.ts Fri Apr 28 18:54:01 2017 +0100 +++ b/src/app/waveform/waveform.component.ts Tue May 02 18:10:51 2017 +0100 @@ -649,7 +649,8 @@ this.timeline.timeContext ); const scaleLayer = new wavesUI.helpers.ScaleLayer({ - color: colour, + tickColor: colour, + textColor: colour, height: height, yDomain: [ min, max ] }); @@ -662,6 +663,7 @@ opacity: 0.7, height: height, color: '#c33c54', + labelOffset: 38, yDomain: [ min, max ] }); this.addLayer(