From bc92dc2b6b4e5c24256e73d3c7f6c579510ba689 Mon Sep 17 00:00:00 2001 From: Eric Rowell Date: Sun, 13 Jan 2013 21:52:31 -0800 Subject: [PATCH] drag and drop uses a fixed frame rate again --- src/Animation.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Animation.js b/src/Animation.js index f99a5daf..e91e12fe 100644 --- a/src/Animation.js +++ b/src/Animation.js @@ -135,6 +135,7 @@ })(); Kinetic.Animation.requestAnimFrame = function(callback) { - RAF(callback); + var raf = Kinetic.DD && Kinetic.DD.moving ? this.fixedRequestAnimFrame : RAF; + raf(callback); }; })();