@xviewer.js/core 1.0.0-alpha.27 → 1.0.0-alpha.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +2 -1
- package/dist/main.js.map +1 -1
- package/dist/module.js +2 -1
- package/dist/module.js.map +1 -1
- package/package.json +1 -1
- package/types/tween/TweenChain.d.ts +1 -0
package/dist/module.js
CHANGED
|
@@ -971,7 +971,7 @@ class TweenChain {
|
|
|
971
971
|
_chainTween() {
|
|
972
972
|
let tween = this._tween;
|
|
973
973
|
if (this._chainedTween) {
|
|
974
|
-
tween = new Tween(this._object);
|
|
974
|
+
tween = new Tween(this._object, this._group);
|
|
975
975
|
this._chainedTween.chain(tween);
|
|
976
976
|
}
|
|
977
977
|
this._chainedTween = tween;
|
|
@@ -979,6 +979,7 @@ class TweenChain {
|
|
|
979
979
|
}
|
|
980
980
|
constructor(object, group){
|
|
981
981
|
this._object = object;
|
|
982
|
+
this._group = group;
|
|
982
983
|
this._tween = new Tween(object, group);
|
|
983
984
|
}
|
|
984
985
|
}
|