Skip to content
Merged

Next #225

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions stores/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
}
Expand Down
Loading