Mercurial > hg > ugly-duckling
comparison src/app/app.module.ts @ 382:c1cedba9557b
Basic grid, bringing in old code from waveform.component.ts. Issues with display when rendered when zoom level / offset is non zero. Same for some other components too, probably needs to be solved upstream in waves-ui-piper.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Wed, 31 May 2017 17:33:23 +0100 |
parents | b220ed78a250 |
children | 5f775358c3cf |
comparison
equal
deleted
inserted
replaced
381:b220ed78a250 | 382:c1cedba9557b |
---|---|
33 import {LivePlayHeadComponent} from './playhead/live-play-head.component'; | 33 import {LivePlayHeadComponent} from './playhead/live-play-head.component'; |
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 | 39 |
39 export function createAudioContext(): AudioContext { | 40 export function createAudioContext(): AudioContext { |
40 return new ( | 41 return new ( |
41 (window as any).AudioContext | 42 (window as any).AudioContext |
42 || (window as any).webkitAudioContext | 43 || (window as any).webkitAudioContext |
124 PlayHeadComponent, | 125 PlayHeadComponent, |
125 LivePlayHeadComponent, | 126 LivePlayHeadComponent, |
126 CurveComponent, | 127 CurveComponent, |
127 TracksComponent, | 128 TracksComponent, |
128 NotesComponent, | 129 NotesComponent, |
129 InstantsComponent | 130 InstantsComponent, |
131 GridComponent | |
130 ], | 132 ], |
131 imports: [ | 133 imports: [ |
132 BrowserModule, | 134 BrowserModule, |
133 FormsModule, | 135 FormsModule, |
134 HttpModule, | 136 HttpModule, |