From bc500490e9a217216d8448b7a73a09ed97bbd489 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Fri, 16 Aug 2024 18:01:31 -0700 Subject: [PATCH] fix context menu --- frontend/app/store/contextmenu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/store/contextmenu.ts b/frontend/app/store/contextmenu.ts index f1f23c110..fac411cf1 100644 --- a/frontend/app/store/contextmenu.ts +++ b/frontend/app/store/contextmenu.ts @@ -40,7 +40,7 @@ class ContextMenuModelType { showContextMenu(menu: ContextMenuItem[], ev: React.MouseEvent): void { this.handlers.clear(); const electronMenuItems = this._convertAndRegisterMenu(menu); - getApi().showContextMenu(electronMenuItems, { x: ev.clientX, y: ev.clientY }); + getApi().showContextMenu(electronMenuItems); } }