@geode/opengeodeweb-front 9.11.1 → 9.11.2
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 +1 -1
- package/stores/menu.js +3 -3
package/package.json
CHANGED
package/stores/menu.js
CHANGED
|
@@ -142,7 +142,7 @@ export const useMenuStore = defineStore("menu", () => {
|
|
|
142
142
|
current_id.value = null
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
async function openMenu(id, x, y,
|
|
145
|
+
async function openMenu(id, x, y, width, height) {
|
|
146
146
|
await closeMenu()
|
|
147
147
|
current_id.value = id
|
|
148
148
|
|
|
@@ -151,8 +151,8 @@ export const useMenuStore = defineStore("menu", () => {
|
|
|
151
151
|
menuY.value = y
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
if (containerWidth) containerWidth.value =
|
|
155
|
-
if (containerHeight) containerHeight.value =
|
|
154
|
+
if (containerWidth) containerWidth.value = width
|
|
155
|
+
if (containerHeight) containerHeight.value = height
|
|
156
156
|
|
|
157
157
|
display_menu.value = true
|
|
158
158
|
}
|