Explorar el Código

schedule redraw before actually redrawing.

Lucas Stadler %!s(int64=12) %!d(string=hace) años
padre
commit
1499453587
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      js/pixl/public/trixl.html

+ 2 - 1
js/pixl/public/trixl.html

@ -423,8 +423,9 @@
423 423
		}
424 424
425 425
		trixl.step = function(t) {
426
			trixl.redraw(t);
427 426
			trixl.step.reqId = requestAnimationFrame(trixl.step);
427
428
			trixl.redraw(t);
428 429
		}
429 430
		trixl.start = function() {
430 431
			trixl.step.reqId = requestAnimationFrame(trixl.step);