Mercurial > hg > ugly-duckling
diff src/app/visualisations/notes/notes.component.ts @ 488:64ed45a0bad3
Introduce PlayheadRenderer, implement in the waves base. Make VerticallyBounded and VerticalScaleRenderer generic and remove bin equivalents. Forward calls for a PlayheadRenderer from VerticalScaleComponent on to its children. Also update other components accordingly.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Wed, 05 Jul 2017 18:42:12 +0100 |
parents | 3ace7672638b |
children | ab43880f1cd5 |
line wrap: on
line diff
--- a/src/app/visualisations/notes/notes.component.ts Wed Jul 05 17:28:24 2017 +0100 +++ b/src/app/visualisations/notes/notes.component.ts Wed Jul 05 18:42:12 2017 +0100 @@ -3,6 +3,7 @@ */ import { InspectableVerticallyBoundedComponent, + PlayheadRenderer, VerticallyBounded, VerticalScaleRenderer, VerticalValueInspectorRenderer, @@ -25,6 +26,7 @@ { provide: VerticallyBounded, useExisting: NotesComponent }, { provide: VerticalScaleRenderer, useExisting: NotesComponent }, {provide: VerticalValueInspectorRenderer, useExisting: NotesComponent }, + {provide: PlayheadRenderer, useExisting: NotesComponent}, {provide: WavesComponent, useExisting: NotesComponent} ] })