fixed animation race condition bug that sometimes produced multiple requestAnimFrame calls, and also changed throttle property to be in fps (it used to be in ms). This will make it more consistent with other properties related to frame rates

This commit is contained in:
Eric Rowell
2012-05-03 12:05:54 -07:00
parent 3585e000b6
commit 7d92a2099e
6 changed files with 44 additions and 34 deletions

View File

@@ -10,7 +10,7 @@ function log(message) {
* Test constructor
*/
function Test() {
this.testOnly = 'SHAPES - add sprite';
this.testOnly = '';
this.counter = 0;
}
/**