Add Edge Rendering with Toggle Button
This commit is contained in:
parent
a71d442b45
commit
8fc3f35321
3 changed files with 18 additions and 0 deletions
|
|
@ -52,4 +52,8 @@ class AppComponent implements OnInit {
|
|||
engine.running = false;
|
||||
engine.grid.addPattern();
|
||||
}
|
||||
|
||||
void onEdgesClicked() {
|
||||
engine.grid.switchEdgeRendering();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue