Fix window bounds restore on OSx

This commit is contained in:
DC
2016-03-21 03:53:32 -07:00
parent 511c60671c
commit fe943db448
2 changed files with 4 additions and 2 deletions

View File

@@ -229,9 +229,11 @@ function dispatch (action, ...args) {
jumpToTime(args[0] /* seconds */)
}
if (action === 'videoPlaying') {
state.video.isPaused = false
ipcRenderer.send('blockPowerSave')
}
if (action === 'videoPaused') {
state.video.isPaused = true
ipcRenderer.send('paused-video')
ipcRenderer.send('unblockPowerSave')
}