Add Clear Board Button to Interface
This commit is contained in:
parent
016b166d50
commit
1a43be14fa
2 changed files with 5 additions and 1 deletions
|
@ -56,4 +56,7 @@ class AppComponent implements OnInit {
|
|||
void onEdgesClicked() {
|
||||
engine.grid.switchEdgeRendering();
|
||||
}
|
||||
|
||||
void onClearClicked() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,8 +14,9 @@
|
|||
</span>
|
||||
</button>
|
||||
<button id="step" (click)="onStepClicked()"><i class="fas fa-step-forward"></i></button>
|
||||
<button id="reset" (click)="onResetClicked()"><i class="fas fa-undo"></i></button>
|
||||
<button id="random" (click)="onRandomClicked()"><i class="fas fa-random"></i></button>
|
||||
<button id="reset" (click)="onResetClicked()"><i class="fas fa-undo"></i></button>
|
||||
<button id="clear" (click)="onClearClicked()"><i class="fas fa-trash-alt"></i></button>
|
||||
<i class="fas fa-clock"> Speed:</i><input type="text" title="speed" value="1">
|
||||
<button id="edges" (click)="onEdgesClicked()"><i class="fas fa-chess-board"></i> </button>
|
||||
</div>
|
Loading…
Reference in a new issue