better spacebar control, disable it completely in dev mode
This commit is contained in:
parent
47e25ae2f2
commit
6ea19e49f7
2 changed files with 12 additions and 2 deletions
|
@ -100,8 +100,8 @@ export default class Thumbar {
|
|||
submenu: [
|
||||
{
|
||||
label: 'Pause / Play',
|
||||
accelerator: 'CommandOrControl+Space',
|
||||
click: () => this._win.webContents.executeJavaScript(`MusicKitInterop.playPause()`)
|
||||
accelerator: 'Space',
|
||||
click: () => this._win.webContents.executeJavaScript(`app.SpacePause()`)
|
||||
},
|
||||
{
|
||||
label: 'Next',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue