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

@@ -27,6 +27,10 @@ function init () {
ipcMain.on('setProgress', function (e, progress) {
setProgress(progress)
})
ipcMain.on('toggleFullScreen', function (e) {
windows.main.setFullScreen(!windows.main.isFullScreen())
})
}
function addTorrentFromPaste () {