changeset 490:97ffab611a55

Explicitly set bin names property (variable used to be called binNames so was set implicitly, previous refactor renamed it to labels). Also remove debug statement.
author Lucas Thompson <dev@lucas.im>
date Wed, 05 Jul 2017 19:11:50 +0100
parents ab43880f1cd5
children 494e2bb601dc
files src/app/visualisations/waves-base.component.ts
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/app/visualisations/waves-base.component.ts	Wed Jul 05 18:52:12 2017 +0100
+++ b/src/app/visualisations/waves-base.component.ts	Wed Jul 05 19:11:50 2017 +0100
@@ -86,7 +86,6 @@
   }
 
   renderPlayhead(initialTime: number, colour: string): PlayheadManager {
-    console.warn('waves base render playhead');
     const cursor = new Waves.helpers.CursorLayer({
       height: this.height,
       color: colour,
@@ -248,7 +247,7 @@
       tickColor: this.colour,
       textColor: this.colour,
       height: this.height,
-      labels
+      binNames: labels
     }));
   }
 }