Added working pixels example
This commit is contained in:
@@ -16,7 +16,9 @@ function Controller () {
|
||||
if (!this.menu[mode]) { this.menu[mode] = {} }
|
||||
if (!this.menu[mode][cat]) { this.menu[mode][cat] = {} }
|
||||
this.menu[mode][cat][label] = { fn: function (_menuItem, browserWindow) {
|
||||
browserWindow.webContents.focus()
|
||||
if (browserWindow) {
|
||||
browserWindow.webContents.focus()
|
||||
}
|
||||
fn.apply(this, arguments)
|
||||
},
|
||||
accelerator: accelerator }
|
||||
|
||||
Reference in New Issue
Block a user