Skip to content

Commit cf17dbe

Browse files
committed
Previously, the easeParams array within a Tweens props object, or a multi-object tween, were ignored and it was only used if set on the root Tween object. It will now work correctly set at any depth. Fix phaserjs#4292
1 parent cff035f commit cf17dbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tweens/builders/TweenBuilder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ var TweenBuilder = function (parent, config, defaults)
7373
ops.getEnd,
7474
ops.getStart,
7575
ops.getActive,
76-
GetEaseFunction(GetValue(value, 'ease', ease), easeParams),
76+
GetEaseFunction(GetValue(value, 'ease', ease), GetValue(value, 'easeParams', easeParams)),
7777
GetNewValue(value, 'delay', delay),
7878
GetNewValue(value, 'duration', duration),
7979
GetBoolean(value, 'yoyo', yoyo),

0 commit comments

Comments
 (0)