mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-06 06:58:21 +00:00
fix context menu
This commit is contained in:
parent
7a1a3a2bea
commit
bc500490e9
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ class ContextMenuModelType {
|
|||
showContextMenu(menu: ContextMenuItem[], ev: React.MouseEvent<any>): void {
|
||||
this.handlers.clear();
|
||||
const electronMenuItems = this._convertAndRegisterMenu(menu);
|
||||
getApi().showContextMenu(electronMenuItems, { x: ev.clientX, y: ev.clientY });
|
||||
getApi().showContextMenu(electronMenuItems);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue