Skip to content

Commit

Permalink
fix: context menu in the browser tree
Browse files Browse the repository at this point in the history
  • Loading branch information
tiny-craft committed Apr 2, 2024
1 parent c7c647d commit 2e28c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/sidebar/BrowserTree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,8 @@ const nodeProps = ({ option }) => {
return
}
contextMenuParam.show = false
contextMenuParam.options = markRaw(menuOptions[option.type] || [])
nextTick().then(() => {
contextMenuParam.options = markRaw(menuOptions[option.type] || [])
contextMenuParam.x = e.clientX
contextMenuParam.y = e.clientY
contextMenuParam.show = true
Expand Down

0 comments on commit 2e28c1b

Please sign in to comment.