Wire up Speed slider to Engine Configuration

This commit is contained in:
Marty Oehme 2018-08-25 15:51:32 +02:00
parent 905af769f6
commit c3f0881454

View file

@ -8,7 +8,8 @@ class ConfigurationService {
int _simSpeed;
int get simSpeed => _simSpeed;
void set simSpeed(int val) {
_simSpeed = 5;
_simSpeed = val;
engineService.engine.stepsPerSecond = simSpeed;
}
ConfigurationService(this.engineService) {