A machine change now leaves user-defined sim speeds intact
authorDaniel Kirschten <daniel.kirschten@gmx.de>
Thu, 26 Sep 2019 18:40:14 +0000 (20:40 +0200)
committerDaniel Kirschten <daniel.kirschten@gmx.de>
Thu, 26 Sep 2019 18:40:14 +0000 (20:40 +0200)
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/editors/SimulationViewEditor.java

index 91a0397..31dd899 100644 (file)
@@ -160,7 +160,7 @@ public class SimulationViewEditor extends EditorPart
 
                        // initialize executer
                        exec = new LogicExecuter(machine.getTimeline());
-                       updateSpeedFactorFromScale();
+                       updateSpeedFactorFromInput(simSpeedInput.getValue());
                        updatePausedState();
                        exec.startLiveExecution();
                } else