소스 검색

Bugfix mainloop (#8897)

Nicolas Cannasse 5 년 전
부모
커밋
319fa77c84
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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