@realsee/dnalogel 2.0.0-alpha.21 → 2.0.0-alpha.22

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.
Files changed (38) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/PanoMeasurePlugin/index.js +5 -0
  3. package/dist/index.es.js +5 -0
  4. package/dist/index.js +5 -0
  5. package/dist/index.umd.js +5 -0
  6. package/docs/classes/ModelRoomLabelController.html +6 -6
  7. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
  8. package/docs/enums/ModelFloorplanErrorType.html +1 -1
  9. package/docs/interfaces/LineJson.html +1 -1
  10. package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
  11. package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
  12. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
  13. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
  14. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
  15. package/docs/interfaces/ModelFloorplanParameterType.html +1 -1
  16. package/docs/interfaces/ModelFloorplanViewEvent.html +2 -2
  17. package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
  18. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
  19. package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
  20. package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
  21. package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
  22. package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
  23. package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
  24. package/docs/interfaces/PanoCompassPluginData.html +1 -1
  25. package/docs/interfaces/PanoCompassPluginParameterType.html +1 -1
  26. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  27. package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
  28. package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
  29. package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
  30. package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
  31. package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
  32. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
  33. package/docs/interfaces/PointJson.html +1 -1
  34. package/docs/interfaces/RoomLabel.html +7 -7
  35. package/docs/interfaces/TopviewFloorplanPluginParameterType.html +8 -8
  36. package/docs/modules.html +12 -12
  37. package/libs/PanoMeasurePlugin/Controller/index.js +5 -0
  38. package/package.json +1 -1
@@ -147,6 +147,7 @@ export default class MeasureController {
147
147
  this.container.style.pointerEvents = 'none';
148
148
  this.container.style.width = '100%';
149
149
  this.container.style.height = '100%';
150
+ this.container.style.opacity = '0';
150
151
  this.container.style.background = 'rgba(0, 0, 0, 0.15)';
151
152
  this.controllerParams = {
152
153
  five: this.five,
@@ -192,6 +193,8 @@ export default class MeasureController {
192
193
  return;
193
194
  this.hasOpen = true;
194
195
  this.five.scene.add(this.group);
196
+ // 修改透明度
197
+ this.container.style.opacity = '1';
195
198
  // 隐藏点位和鼠标聚焦环
196
199
  this.five.helperVisible = false;
197
200
  this.controller = new WatchController(this.controllerParams);
@@ -207,6 +210,8 @@ export default class MeasureController {
207
210
  disable() {
208
211
  var _a, _b, _c, _d;
209
212
  this.hasOpen = false;
213
+ // 修改透明度
214
+ this.container.style.opacity = '0';
210
215
  // 展示点位和鼠标聚焦环
211
216
  (_a = this.controller) === null || _a === void 0 ? void 0 : _a.dispose();
212
217
  (_b = this.useUIController) === null || _b === void 0 ? void 0 : _b.hide();
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "2.0.0-alpha.21",
10
+ "version": "2.0.0-alpha.22",
11
11
  "license": "SEE LICENSE IN TERMS.txt",
12
12
  "scripts": {
13
13
  "build": "yarn run tsb && yarn run build:rollup && yarn build:docs",