mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
Remove "async" flag from the menu.popup() options
All menus have become async after the Chromium 61 upgrade. Fixes #11242.
This commit is contained in:
@@ -67,9 +67,6 @@ The `menu` object has the following instance methods:
|
||||
Must be declared if `y` is declared.
|
||||
* `y` Number (optional) - Default is the current mouse cursor position.
|
||||
Must be declared if `x` is declared.
|
||||
* `async` Boolean (optional) - Set to `true` to have this method return
|
||||
immediately called, `false` to return after the menu has been selected
|
||||
or closed. Defaults to `false`.
|
||||
* `positioningItem` Number (optional) _macOS_ - The index of the menu item to
|
||||
be positioned under the mouse cursor at the specified coordinates. Default
|
||||
is -1.
|
||||
|
||||
Reference in New Issue
Block a user