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