fix: seek

This commit is contained in:
JellyBrick
2023-10-22 21:49:55 +09:00
parent a810621762
commit 9e97699e6c

View File

@ -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`);