@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/main.js
CHANGED
|
@@ -973,7 +973,7 @@ class TweenChain {
|
|
|
973
973
|
_chainTween() {
|
|
974
974
|
let tween = this._tween;
|
|
975
975
|
if (this._chainedTween) {
|
|
976
|
-
tween = new Tween(this._object);
|
|
976
|
+
tween = new Tween(this._object, this._group);
|
|
977
977
|
this._chainedTween.chain(tween);
|
|
978
978
|
}
|
|
979
979
|
this._chainedTween = tween;
|
|
@@ -981,6 +981,7 @@ class TweenChain {
|
|
|
981
981
|
}
|
|
982
982
|
constructor(object, group){
|
|
983
983
|
this._object = object;
|
|
984
|
+
this._group = group;
|
|
984
985
|
this._tween = new Tween(object, group);
|
|
985
986
|
}
|
|
986
987
|
}
|