🔧 Menu returns its properties now
This commit is contained in:
parent
93b46116f4
commit
22e9d665d2
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue