# HG changeset patch # User Lucas Thompson # Date 1495819858 -3600 # Node ID b529a08ddff111be1c2da017bfd42f5fd8b40b86 # Parent b852bace6b14538ab2fb119a2e7a0e2fc87007cf Explicitly state the change detection strategy, despite the fact it will already be OnPush here because its parent is. diff -r b852bace6b14 -r b529a08ddff1 src/app/visualisations/waveform/waveform.component.ts --- a/src/app/visualisations/waveform/waveform.component.ts Fri May 26 18:28:54 2017 +0100 +++ b/src/app/visualisations/waveform/waveform.component.ts Fri May 26 18:30:58 2017 +0100 @@ -3,7 +3,8 @@ Input, ChangeDetectorRef, ElementRef, - ViewChild + ViewChild, + ChangeDetectionStrategy } from '@angular/core'; import wavesUI from 'waves-ui-piper'; import {WavesComponent} from '../waves-base.component'; @@ -12,7 +13,8 @@ @Component({ selector: 'ugly-waveform', templateUrl: '../waves-template.html', - styleUrls: ['../waves-template.css'] + styleUrls: ['../waves-template.css'], + changeDetection: ChangeDetectionStrategy.OnPush }) export class WaveformComponent extends WavesComponent { @ViewChild('track') trackDiv: ElementRef;