Fixed the thumbar and added icons and thumbar to build resources
Big brain me forgot it was status not state.
This commit is contained in:
parent
1587b2fc26
commit
8da0ebed97
8 changed files with 30 additions and 35 deletions
|
@ -85,19 +85,19 @@ export class utils {
|
|||
*/
|
||||
static playback = {
|
||||
pause: () => {
|
||||
bw.win.webContents.send("MusicKitInterop.pause()")
|
||||
bw.win.webContents.executeJavaScript("MusicKitInterop.pause()")
|
||||
},
|
||||
play: () => {
|
||||
bw.win.webContents.send("MusicKitInterop.play()")
|
||||
bw.win.webContents.executeJavaScript("MusicKitInterop.play()")
|
||||
},
|
||||
playPause: () => {
|
||||
bw.win.webContents.send("MusicKitInterop.playPause()")
|
||||
bw.win.webContents.executeJavaScript("MusicKitInterop.playPause()")
|
||||
},
|
||||
next: () => {
|
||||
bw.win.webContents.send("MusicKitInterop.next()")
|
||||
bw.win.webContents.executeJavaScript("MusicKitInterop.next()")
|
||||
},
|
||||
previous: () => {
|
||||
bw.win.webContents.send("MusicKitInterop.previous()")
|
||||
bw.win.webContents.executeJavaScript("MusicKitInterop.previous()")
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue