Skip to content

Commit

Permalink
Fixed: MovieClip._update().
Browse files Browse the repository at this point in the history
  • Loading branch information
flashlizi committed Apr 26, 2012
1 parent 810fcd1 commit 0205cfe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/base/display/MovieClip.js
Expand Up @@ -159,12 +159,13 @@ MovieClip.prototype._update = function(timeInfo)
this.stop();
return;
}

if(!this.paused)
{
var delta = this.useFrames ? 1 : timeInfo && timeInfo.deltaTime;
this.nextFrame(delta);
this.setRect(this._frames[this.currentFrame].rect);
}
this.setRect(frame.rect);

MovieClip.superClass._update.call(this, timeInfo);
};
Expand Down

0 comments on commit 0205cfe

Please sign in to comment.