From e1c243d802af4432f4d36e1160bdd22b7cc71a7c Mon Sep 17 00:00:00 2001 From: JulienChampagnol Date: Mon, 8 Sep 2025 09:55:33 +0200 Subject: [PATCH] fix(ContextMenu): change js args overlap --- stores/menu.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stores/menu.js b/stores/menu.js index f6fd0fb7..f1787fa9 100644 --- a/stores/menu.js +++ b/stores/menu.js @@ -142,7 +142,7 @@ export const useMenuStore = defineStore("menu", () => { current_id.value = null } - async function openMenu(id, x, y, containerWidth, containerHeight) { + async function openMenu(id, x, y, width, height) { await closeMenu() current_id.value = id @@ -151,8 +151,8 @@ export const useMenuStore = defineStore("menu", () => { menuY.value = y } - if (containerWidth) containerWidth.value = containerWidth - if (containerHeight) containerHeight.value = containerHeight + if (containerWidth) containerWidth.value = width + if (containerHeight) containerHeight.value = height display_menu.value = true }