@realsee/vreo 1.0.0-alpha.6 → 1.0.0-alpha.7
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.
|
@@ -43,7 +43,7 @@ function PanoTag() {
|
|
|
43
43
|
end = keyframe.end,
|
|
44
44
|
data = keyframe.data;
|
|
45
45
|
var panoTagData = data;
|
|
46
|
-
var id =
|
|
46
|
+
var id = Date.now().toString();
|
|
47
47
|
var pointType = _dnalogel.PointType.PointTag;
|
|
48
48
|
var dimensionType = _dnalogel.DimensionType.Two;
|
|
49
49
|
var position = [panoTagData.vertex.x, panoTagData.vertex.y, panoTagData.vertex.z];
|
|
@@ -83,7 +83,6 @@ function PanoTag() {
|
|
|
83
83
|
});
|
|
84
84
|
timeoutRef.current = setTimeout(function () {
|
|
85
85
|
var _tag$hooks;
|
|
86
|
-
var id = Date.now();
|
|
87
86
|
// clear
|
|
88
87
|
var tag = panoTagPlugin.current.getTagById(id);
|
|
89
88
|
if (tag.state) {
|
package/package.json
CHANGED
|
@@ -35,7 +35,7 @@ export function PanoTag() {
|
|
|
35
35
|
|
|
36
36
|
const panoTagData = data as PanoTagData
|
|
37
37
|
|
|
38
|
-
const id =
|
|
38
|
+
const id = Date.now().toString()
|
|
39
39
|
const pointType = PointType.PointTag
|
|
40
40
|
const dimensionType = DimensionType.Two
|
|
41
41
|
const position = [panoTagData.vertex.x, panoTagData.vertex.y, panoTagData.vertex.z]
|
|
@@ -51,7 +51,6 @@ export function PanoTag() {
|
|
|
51
51
|
panoTagPlugin.current.load({ tagList: [tag] })
|
|
52
52
|
|
|
53
53
|
timeoutRef.current = setTimeout(() => {
|
|
54
|
-
const id = Date.now()
|
|
55
54
|
// clear
|
|
56
55
|
const tag = panoTagPlugin.current.getTagById(id)
|
|
57
56
|
if (tag.state) {
|