Permalink
Browse files

[TIMOB-11730] Fixed requestAnimationFrame callback timestamp to use n…

…ow instead of the timestamp passed in.
  • Loading branch information...
1 parent 939fca8 commit 612cfa51d1a597cc960905c1c7bfa9f872862335 @cb1kenobi committed Nov 20, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 mobileweb/titanium/Ti/UI/Animation.js
@@ -94,7 +94,7 @@ define(["Ti/_/declare", "Ti/_/Evented", "Ti/_/style", "Ti/UI"], function(declare
}) : requestAnimationFrame(render);
}
- function render(ts) {
+ function render() {
var wid,
anis,
ani,
@@ -104,6 +104,7 @@ define(["Ti/_/declare", "Ti/_/Evented", "Ti/_/style", "Ti/UI"], function(declare
len,
from,
to,
+ ts = now(),
pct,
progress,
val,

0 comments on commit 612cfa5

Please sign in to comment.