# HG changeset patch # User Lucas Thompson # Date 1495800618 -3600 # Node ID 02e7be2daf31f15b072c1762c770f4ae80eb2ee1 # Parent 2453773eddd6ad262ae0b82db5962796ebf47c52 fix playhead regression. TypeScript doesn't seem to catch errors for non existent properties used as values for attribute directives. diff -r 2453773eddd6 -r 02e7be2daf31 src/app/app.component.html --- a/src/app/app.component.html Fri May 26 13:04:07 2017 +0100 +++ b/src/app/app.component.html Fri May 26 13:10:18 2017 +0100 @@ -34,7 +34,7 @@ diff -r 2453773eddd6 -r 02e7be2daf31 src/app/app.component.ts --- a/src/app/app.component.ts Fri May 26 13:04:07 2017 +0100 +++ b/src/app/app.component.ts Fri May 26 13:10:18 2017 +0100 @@ -9,7 +9,8 @@ import {MdIconRegistry} from '@angular/material'; import {Subscription} from 'rxjs/Subscription'; import { - AnalysisItem, isRootAudioItem, + AnalysisItem, + isRootAudioItem, Item, PendingAnalysisItem, PendingRootAudioItem, RootAudioItem } from './analysis-item/analysis-item.component'; import {OnSeekHandler} from './playhead/PlayHeadHelpers'; @@ -89,6 +90,7 @@ this.nRecordings = 0; this.countingId = 0; this.onSeek = (time) => this.audioService.seekTo(time); + this.rootAudioItem = {} as any; // TODO eugh iconRegistry.addSvgIcon( 'duck',