Browse Source

Kludged double field alignment for emscripten Timer.

Mark Sibly 7 years ago
parent
commit
123570e3ba
1 changed files with 2 additions and 1 deletions
  1. 2 1
      modules/std/time/timer_emscripten.monkey2

+ 2 - 1
modules/std/time/timer_emscripten.monkey2

@@ -52,7 +52,8 @@ Class Timer
 	Struct Context
 	Struct Context
 		Field timer:Timer
 		Field timer:Timer
 	End
 	End
-
+	
+	Field _pad:Int	'emscripten bug?!?
 	Field _period:Double
 	Field _period:Double
 	Field _timeout:Double
 	Field _timeout:Double
 	Field _fired:Void()
 	Field _fired:Void()