X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=LogicUI%2Fsrc%2Fera%2Fmi%2Fgui%2FLogicUIStandalone.java;fp=LogicUI%2Fsrc%2Fera%2Fmi%2Fgui%2FLogicUIStandalone.java;h=2febb5cbd51c6e6c9a1af410817b947ef88e2aa2;hb=0ce7f7122a702c3d6a4b864172b8c93620c8b03b;hp=3b3c740f87544eb73a9110a15a48532cae5c5827;hpb=6ab8014cf6bb882187ab4d22fdf460dc0adbc2ab;p=Mograsim.git diff --git a/LogicUI/src/era/mi/gui/LogicUIStandalone.java b/LogicUI/src/era/mi/gui/LogicUIStandalone.java index 3b3c740f..2febb5cb 100644 --- a/LogicUI/src/era/mi/gui/LogicUIStandalone.java +++ b/LogicUI/src/era/mi/gui/LogicUIStandalone.java @@ -54,7 +54,7 @@ public class LogicUIStandalone while (running.get()) { // always execute to keep timeline from "hanging behind" for too long - timeline.executeUpTo(System.currentTimeMillis(), System.currentTimeMillis() + 10); + timeline.executeUntil(timeline.laterThan(System.currentTimeMillis()), System.currentTimeMillis() + 10); long sleepTime; if (timeline.hasNext()) sleepTime = timeline.nextEventTime() - System.currentTimeMillis();