Przeglądaj źródła

Bugfix mainloop (#8897)

Nicolas Cannasse 5 lat temu
rodzic
commit
319fa77c84
1 zmienionych plików z 1 dodań i 1 usunięć
  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