Cast buttons and fullscreen in player controls

This commit is contained in:
DC
2016-03-05 01:05:09 -08:00
parent 2b17c1dabd
commit b7b30ed7c4
6 changed files with 52 additions and 27 deletions

View File

@@ -163,6 +163,9 @@ function dispatch (action, ...args) {
state.video.jumpToTime = args[0] /* seconds */
update()
}
if (action === 'toggleFullScreen') {
electron.ipcRenderer.send('toggleFullScreen')
}
}
electron.ipcRenderer.on('addTorrent', function (e, torrentId) {