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 0205cfe commit edf9334
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
== 2012.4.26 v1.0.0 build 118 ==

Fixed:
* MovieClip._update() - incorrect setRect() method call.

== 2012.4.25 v1.0.0 build 117 ==

Modified:
Expand Down
5 changes: 3 additions & 2 deletions js/quark.base-1.0.0.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Quark 1.0.0 (build 117)
Quark 1.0.0 (build 118)
Licensed under the MIT License.
http://github.com/quark-dev-team/quarkjs
*/
Expand Down Expand Up @@ -3311,12 +3311,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
10 changes: 5 additions & 5 deletions js/quark.base-1.0.0.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit edf9334

Please sign in to comment.