mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-27 19:25:13 +02:00
requestAnimationFrame was missing.
This commit is contained in:
@@ -393,7 +393,7 @@ function FastImageRender(canvasElement, options) {
|
|||||||
|
|
||||||
if (that.options.raf) {
|
if (that.options.raf) {
|
||||||
that.animLoop = function() {
|
that.animLoop = function() {
|
||||||
that.raf = that.animLoop)
|
that.raf = requireAnimationFrame(that.animLoop)
|
||||||
|
|
||||||
// separate render from drawing
|
// separate render from drawing
|
||||||
// render
|
// render
|
||||||
|
|||||||
Reference in New Issue
Block a user