# HG changeset patch # User Lucas Thompson # Date 1496420673 -3600 # Node ID 6fe8ef9687deafa8a79d1debb18effbda2ab9a35 # Parent 75cb17f2827795a0211a8c6a7467f6785ccc38ad Who am I kidding? Graduate the bodge. diff -r 75cb17f28277 -r 6fe8ef9687de src/app/analysis-item/analysis-item.component.html --- a/src/app/analysis-item/analysis-item.component.html Fri Jun 02 16:51:36 2017 +0100 +++ b/src/app/analysis-item/analysis-item.component.html Fri Jun 02 17:24:33 2017 +0100 @@ -14,7 +14,7 @@ diff -r 75cb17f28277 -r 6fe8ef9687de src/app/analysis-item/analysis-item.component.ts --- a/src/app/analysis-item/analysis-item.component.ts Fri Jun 02 16:51:36 2017 +0100 +++ b/src/app/analysis-item/analysis-item.component.ts Fri Jun 02 17:24:33 2017 +0100 @@ -92,12 +92,12 @@ private hasProgressOnInit = false; - // TODO move - private DOES_NOT_BELONG_HERE: TimePixelMapper; + // TODO move / re-think - naivePagingMapper feels like a big ol' bodge + private timeToPixel: TimePixelMapper; ngOnInit(): void { this.hasProgressOnInit = this.item.progress != null; - this.DOES_NOT_BELONG_HERE = naivePagingMapper(this.timeline); + this.timeToPixel = naivePagingMapper(this.timeline); } isLoading(): boolean {