polarvo-layout 1.0.33 → 1.0.34

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polarvo-layout",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "type": "module",
5
5
  "author": "unigence <unigencelab@gmail.com>",
6
6
  "repository": {
@@ -57,7 +57,7 @@ const props = defineProps({
57
57
  },
58
58
  });
59
59
 
60
- const { setActiveDesign } = props.polarvo.display;
60
+ const { setActiveDesign, setActiveMenu } = props.polarvo.display;
61
61
  const { updateActiveElement } = props.polarvo.layout;
62
62
  const { elements, guides, activeElement } = toRefs(props.polarvo.freeDrop.state);
63
63
  const filteredElements = computed(() => {
@@ -75,6 +75,7 @@ watch(
75
75
  if (newId === oldId) return;
76
76
  if (!newId) {
77
77
  setActiveDesign(null);
78
+ setActiveMenu(null);
78
79
  }
79
80
 
80
81
  _isElementSwitching = true;
@@ -112,6 +112,7 @@ class FreeDropEngine {
112
112
 
113
113
  if (index !== -1) {
114
114
  this._elements[index] = element; // 업데이트
115
+ this._activeElement = element;
115
116
  this._elementsUpdate = true;
116
117
  }
117
118