Skip to content

Commit 6df2b9c

Browse files
authored
Provide a hook property for dynamic tweens
Exposes a property to allow developers to change the tween settings on the fly.
1 parent 5678f99 commit 6df2b9c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tweenjs/Tween.js

+3
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,9 @@ this.createjs = this.createjs||{};
793793
this._injected = null;
794794
this._appendProps(inject, step, false);
795795
}
796+
797+
// added by Dan Zen 03/27/21 to provide for dynamically adjusted tweens
798+
this.step = step;
796799
};
797800

798801
/**

0 commit comments

Comments
 (0)