mirror of
https://github.com/electron/electron.git
synced 2026-01-28 00:38:35 -05:00
🔧 Menu returns its properties now
This commit is contained in:
@@ -86,6 +86,8 @@ Menu.prototype.popup = function (window, x, y, positioningItem) {
|
||||
}
|
||||
|
||||
this.popupAt(newWindow, newX, newY, newPosition)
|
||||
|
||||
return { browserWindow: newWindow, x: newX, y: newY, position: newPosition }
|
||||
}
|
||||
|
||||
Menu.prototype.closePopup = function (window) {
|
||||
|
||||
Reference in New Issue
Block a user