Quellcode durchsuchen

schedule redraw before actually redrawing.

Lucas Stadler vor 12 Jahren
Ursprung
Commit
1499453587
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  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);