mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-09 01:31:46 +00:00
fix: seek
This commit is contained in:
@ -81,7 +81,7 @@ export default (win: BrowserWindow) => {
|
||||
break;
|
||||
case 'seek':
|
||||
console.log('seek', action.get('value'));
|
||||
win.webContents.send('seekBy', action.get('value'));
|
||||
win.webContents.send('seekTo', action.get('value'));
|
||||
break;
|
||||
default:
|
||||
throw Error(`web-interface: Requested action "${action.get('action')}" not found`);
|
||||
|
||||
Reference in New Issue
Block a user