three-base 1.0.54 → 1.0.56

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/lib/Transition.ts CHANGED
@@ -180,8 +180,8 @@ export default class Transition {
180
180
  this._keys.push(key);
181
181
  }
182
182
 
183
- // 执行状态未完成
184
- this._isDone = false;
183
+ // // 执行状态未完成
184
+ // this._isDone = false;
185
185
 
186
186
  }
187
187
 
@@ -189,7 +189,7 @@ export default class Transition {
189
189
  threeUtils.addEventListener("requestAnimationFrame", this.runbindThis);
190
190
 
191
191
  if (!this._isDone) {
192
- await new Promise(resolve => setTimeout(resolve, this._duration));
192
+ await new Promise(resolve => setTimeout(resolve, this._duration + 50));
193
193
  }
194
194
 
195
195
  return this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "three-base",
3
- "version": "1.0.54",
3
+ "version": "1.0.56",
4
4
  "description": "three 3d three-base",
5
5
  "repository": {
6
6
  "type": "git",