comparison src/app/waveform/waveform.component.ts @ 105:f8436dd53e7f

Bring in CC's latest wave-ui stuff.
author Lucas Thompson <dev@lucas.im>
date Mon, 06 Mar 2017 11:29:47 +0000
parents 42b29cdff5ef
children fe6b0c525a7d
comparison
equal deleted inserted replaced
104:5f14819a5af2 105:f8436dd53e7f
225 cx: i * stepDuration, 225 cx: i * stepDuration,
226 cy: feature * normalisationFactor 226 cy: feature * normalisationFactor
227 }; 227 };
228 }); 228 });
229 229
230 let breakpointLayer = new wavesUI.helpers.BreakpointLayer(plotData, { 230 let lineLayer = new wavesUI.helpers.LineLayer(plotData, {
231 color: colour, 231 color: colour,
232 height: height 232 height: height
233 }); 233 });
234 this.colouredLayers.set(this.addLayer( 234 this.colouredLayers.set(this.addLayer(
235 breakpointLayer, 235 lineLayer,
236 mainTrack, 236 mainTrack,
237 this.timeline.timeContext 237 this.timeline.timeContext
238 ), colour); 238 ), colour);
239 break; 239 break;
240 } 240 }