Mercurial > hg > ugly-duckling
comparison src/app/app.module.ts @ 393:a02e6ec4a9d2
cross-hair-inspector component, much the same technique used for the vertical-scale. Change curve to use it. Doesn't currently animate.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Thu, 01 Jun 2017 16:26:52 +0100 |
parents | 5f775358c3cf |
children | 308ea1c2612e |
comparison
equal
deleted
inserted
replaced
392:7ef6c8089801 | 393:a02e6ec4a9d2 |
---|---|
34 import {CurveComponent} from './visualisations/curve/curve.component'; | 34 import {CurveComponent} from './visualisations/curve/curve.component'; |
35 import {TracksComponent} from './visualisations/tracks/tracks.components'; | 35 import {TracksComponent} from './visualisations/tracks/tracks.components'; |
36 import {NotesComponent} from './visualisations/notes/notes.component'; | 36 import {NotesComponent} from './visualisations/notes/notes.component'; |
37 import {InstantsComponent} from './visualisations/instants/instants.component'; | 37 import {InstantsComponent} from './visualisations/instants/instants.component'; |
38 import {GridComponent} from './visualisations/grid/grid.component'; | 38 import {GridComponent} from './visualisations/grid/grid.component'; |
39 import {VerticalScaleComponent} from "./visualisations/vertical-scale.component"; | 39 import {VerticalScaleComponent} from './visualisations/vertical-scale.component'; |
40 import {CrossHairInspectorComponent} from './visualisations/cross-hair-inspector.component'; | |
40 | 41 |
41 export function createAudioContext(): AudioContext { | 42 export function createAudioContext(): AudioContext { |
42 return new ( | 43 return new ( |
43 (window as any).AudioContext | 44 (window as any).AudioContext |
44 || (window as any).webkitAudioContext | 45 || (window as any).webkitAudioContext |
128 CurveComponent, | 129 CurveComponent, |
129 TracksComponent, | 130 TracksComponent, |
130 NotesComponent, | 131 NotesComponent, |
131 InstantsComponent, | 132 InstantsComponent, |
132 GridComponent, | 133 GridComponent, |
133 VerticalScaleComponent | 134 VerticalScaleComponent, |
135 CrossHairInspectorComponent | |
134 ], | 136 ], |
135 imports: [ | 137 imports: [ |
136 BrowserModule, | 138 BrowserModule, |
137 FormsModule, | 139 FormsModule, |
138 HttpModule, | 140 HttpModule, |