mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 20:23:19 +00:00
The TweenChainBuilder
was incorrectly setting the persist
flag on the Chain to true
, which goes against what the documentation says. It now correctly sets it to false
. This means if you previously had a Tween Chain that was persisting, it will no longer do so, so add the property to regain the feature.
This commit is contained in:
parent
47d393ac29
commit
74515f6437
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ var TweenChainBuilder = function (parent, config)
|
|||
chain.loop = Math.round(GetAdvancedValue(config, 'loop', GetValue(config, 'repeat', 0)));
|
||||
chain.loopDelay = Math.round(GetAdvancedValue(config, 'loopDelay', GetValue(config, 'repeatDelay', 0)));
|
||||
chain.paused = GetBoolean(config, 'paused', false);
|
||||
chain.persist = GetBoolean(config, 'persist', true);
|
||||
chain.persist = GetBoolean(config, 'persist', false);
|
||||
|
||||
// Set the Callbacks
|
||||
chain.callbackScope = GetValue(config, 'callbackScope', chain);
|
||||
|
|
Loading…
Reference in a new issue