summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorMarco Cecchetti <mrcekets@gmail.com>2012-07-03 15:39:32 +0200
committerMarco Cecchetti <mrcekets@gmail.com>2012-07-15 11:51:46 +0200
commitde912929b54d8b4ab1898a8f011233c340c2e080 (patch)
treef5cf40164ecfbc988b620d92dea8b4f2fd66fce4 /filter
parentce5a16c4e34f50f101ec25839686f28feca42aa8 (diff)
Changed the rewindCurrentEffect method.
The change was needed because rewinding a playing shape transition effect based on a clip-path doesn’t work properly on Firefox and Internet Explorer.
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/presentation_engine.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/filter/source/svg/presentation_engine.js b/filter/source/svg/presentation_engine.js
index d705658f84f5..9b62dd7731e5 100644
--- a/filter/source/svg/presentation_engine.js
+++ b/filter/source/svg/presentation_engine.js
@@ -6489,8 +6489,11 @@ SequentialTimeContainer.prototype.rewindCurrentEffect = function( aChildNode )
assert( !this.bIsRewinding, 'SequentialTimeContainer.rewindCurrentEffect: is already rewinding.' );
this.bIsRewinding = true;
+ this.getContext().aActivityQueue.endAll();
+ this.getContext().bIsSkipping = true;
this.getContext().aTimerEventQueue.forceEmpty();
- this.getContext().aActivityQueue.clear();
+ this.getContext().bIsSkipping = false;
+ this.getContext().aActivityQueue.endAll();
aChildNode.end();
aChildNode.removeEffect();