Mercurial > hg > ugly-duckling
changeset 66:1b8dec9f6fe6
Fix region rendering bug caused by a negative height. Waves-ui calculates the height of a shape relative to the y-domain boundaries of the layer.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Mon, 12 Dec 2016 16:40:26 +0000 |
parents | 57980a1a579d |
children | 7c34938470fb |
files | src/app/waveform/waveform.component.ts |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/app/waveform/waveform.component.ts Mon Dec 12 00:43:55 2016 +0000 +++ b/src/app/waveform/waveform.component.ts Mon Dec 12 16:40:26 2016 +0000 @@ -242,7 +242,7 @@ x: toSeconds(feature.timestamp), y: feature.featureValues[0], width: toSeconds(feature.duration), - height: 0.05 * max, + height: min + 0.05 * max, color: colour, opacity: 0.8 }