Permalink
Browse files

restore replayability of the effects

  • Loading branch information...
1 parent 7df2d18 commit c3d1b35a8c8ffddbe98b08ceb07f58d5b1d98790 @RStankov committed with madrobby May 20, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/effects/base.js
View
@@ -186,6 +186,7 @@ S2.FX.Base = Class.create({
play: function(options) {
this.setOptions(options);
this.frameCount = 0;
+ this.state = 'idle';
this.options.queue.add(this);
this.maxFrames = this.options.fps * this.duration / 1000;
return this;

0 comments on commit c3d1b35

Please sign in to comment.