@realsee/vreo 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.
@@ -263,6 +263,8 @@ var Controller = /*#__PURE__*/function (_Subscribe) {
263
263
  // 没有被解析过且开始时间低于当前时间戳 100ms
264
264
  return keyframes.filter(function (keyframe) {
265
265
  if (keyframe.parsed) return false;
266
+ // 检测结束时间
267
+ if (keyframe.end < _this2.currentTime) return false;
266
268
  if (keyframe.type === _VreoUnit.VreoKeyframeEnum.BgMusic) return true;
267
269
  var dur = _this2.currentTime - keyframe.start;
268
270
  return dur <= 100 && dur >= 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/vreo",
3
- "version": "1.0.0-alpha.27",
3
+ "version": "1.0.0-alpha.28",
4
4
  "description": "Vreo (VR Video 缩写) 是基于如视三维渲染引擎 Five 和 用户界面构建库 React 实现的如视 3D 空间剧本播放器。",
5
5
  "keywords": [
6
6
  "realsee",