# HG changeset patch # User Lucas Thompson # Date 1481560826 0 # Node ID 1b8dec9f6fe6bac3796bf877b19c4c991b454eef # Parent 57980a1a579d4186875a98fd003aa6bf773b5a4c 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. diff -r 57980a1a579d -r 1b8dec9f6fe6 src/app/waveform/waveform.component.ts --- 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 }