🔧 Menu returns its properties now

This commit is contained in:
Felix Rieseberg 2017-12-11 13:54:33 -08:00
parent 93b46116f4
commit 22e9d665d2

View file

@ -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) {