Fix wrong variable being accessed by controls_component
This commit is contained in:
parent
3a1ba1c1e9
commit
800c85d14f
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
<div id="controls">
|
<div id="controls">
|
||||||
<material-button id="reset" (click)="onResetClicked()"><material-icon icon="replay" baseline></material-icon></material-button>
|
<material-button id="reset" (click)="onResetClicked()"><material-icon icon="replay" baseline></material-icon></material-button>
|
||||||
<material-button id="run" (click)="onStartClicked()">
|
<material-button id="run" (click)="onStartClicked()">
|
||||||
<span [ngSwitch]="engine.isRunning">
|
<span [ngSwitch]="ctrl.isRunning">
|
||||||
<material-icon *ngSwitchCase="false" icon="play_arrow" baseline></material-icon>
|
<material-icon *ngSwitchCase="false" icon="play_arrow" baseline></material-icon>
|
||||||
<material-icon *ngSwitchCase="true" icon="pause" baseline></material-icon>
|
<material-icon *ngSwitchCase="true" icon="pause" baseline></material-icon>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in a new issue