@gamelearn/arcade-components 1.27.7 → 1.27.9
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.
|
@@ -41,7 +41,7 @@ var BubbleWrapper = function BubbleWrapper(_ref) {
|
|
|
41
41
|
ref: group,
|
|
42
42
|
position: position
|
|
43
43
|
}, /*#__PURE__*/_react.default.createElement(_arcadeThreeCore.HtmlPro, {
|
|
44
|
-
zIndexRange: [
|
|
44
|
+
zIndexRange: [5, 5],
|
|
45
45
|
calculatePosition: currentMessage.inScene ? undefined : function () {
|
|
46
46
|
return [0, 0];
|
|
47
47
|
},
|
|
@@ -188,7 +188,7 @@ var VideoVisor = function VideoVisor(_ref) {
|
|
|
188
188
|
|
|
189
189
|
var setTimePoint = function setTimePoint(client, width, pos) {
|
|
190
190
|
setIsFinish(false);
|
|
191
|
-
videoPlayer.currentTime = parseFloat((client - pos) / width * videoPlayer.duration);
|
|
191
|
+
videoPlayer.currentTime = width ? parseFloat((client - pos) / width * videoPlayer.duration) : 0;
|
|
192
192
|
};
|
|
193
193
|
|
|
194
194
|
var restart = function restart() {
|