Add Edge Rendering with Toggle Button

This commit is contained in:
Marty Oehme 2018-07-08 19:01:14 +02:00
parent a71d442b45
commit 8fc3f35321
3 changed files with 18 additions and 0 deletions

View file

@ -52,4 +52,8 @@ class AppComponent implements OnInit {
engine.running = false;
engine.grid.addPattern();
}
void onEdgesClicked() {
engine.grid.switchEdgeRendering();
}
}