Mercurial > hg > ugly-duckling
comparison src/app/waveform/waveform.component.ts @ 112:689c1bfe8e68
Keep the play-head on top of all layers (a bodge, of course)
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Sun, 12 Mar 2017 23:10:05 +0000 |
parents | 9890436bcc9a |
children | d43e2392193c |
comparison
equal
deleted
inserted
replaced
111:0021f46341c1 | 112:689c1bfe8e68 |
---|---|
548 timeContext : new wavesUI.core.LayerTimeContext(timeContext)); | 548 timeContext : new wavesUI.core.LayerTimeContext(timeContext)); |
549 } | 549 } |
550 track.add(layer); | 550 track.add(layer); |
551 layer.render(); | 551 layer.render(); |
552 layer.update(); | 552 layer.update(); |
553 if (this.cursorLayer) { | |
554 track.$layout.appendChild(this.cursorLayer.$el); | |
555 } | |
553 return this.disposableLayers.push(layer) - 1; | 556 return this.disposableLayers.push(layer) - 1; |
554 } | 557 } |
555 | 558 |
556 private static changeColour(layer: Layer, colour: string): void { | 559 private static changeColour(layer: Layer, colour: string): void { |
557 const butcherShapes = (shape) => { | 560 const butcherShapes = (shape) => { |