Fix Reset & Step not working on first click

Rendering dirty flags were not updated accordingly, so the updates happened but were not pushed to be rendered. Added and moved additional dirty flag setters.
This commit is contained in:
Marty Oehme 2018-07-07 21:43:24 +02:00
parent 2d2365e606
commit c5b62e6c9f
3 changed files with 10 additions and 4 deletions

View file

@ -44,6 +44,7 @@ class AppComponent implements OnInit {
}
void onResetClicked() {
engine.running = false;
engine.reset();
}