@crystaldesign/real-time-viewer 24.15.0-beta.3 → 24.15.0-beta.30

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.
@@ -1817,7 +1817,7 @@ var UIStore = /*#__PURE__*/function () {
1817
1817
  if (!element) return 0; // continue
1818
1818
  var guiElemLeftBack = new TransformNode('guiElem_' + elementInfo.elementId, _this4._scene);
1819
1819
  var bbox = element.getHierarchyBoundingVectors();
1820
- guiElemLeftBack.position = new Vector3(bbox.max.x, bbox.max.y, bbox.min.z);
1820
+ guiElemLeftBack.position = element.absolutePosition.add(new Vector3(0, bbox.max.y, 0));
1821
1821
  guiElemRightBack = undefined;
1822
1822
  if (_this4._uiConfig.posTrashIcon == 'TOP_RIGHT_BACK') {
1823
1823
  guiElemRightBack = new TransformNode('guiElem_' + elementInfo.elementId, _this4._scene);