Selaa lähdekoodia

Bugfix mainloop (#8897)

Nicolas Cannasse 5 vuotta sitten
vanhempi
commit
319fa77c84
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      std/haxe/MainLoop.hx

+ 1 - 1
std/haxe/MainLoop.hx

@@ -44,7 +44,7 @@ class MainEvent {
 		if (f == null)
 			return;
 		f = null;
-		nextRun = -1;
+		nextRun = Math.NEGATIVE_INFINITY;
 		if (prev == null)
 			@:privateAccess MainLoop.pending = next;
 		else