add missing update() calls (fix #36)

This commit is contained in:
Feross Aboukhadijeh
2016-03-05 19:33:28 -08:00
parent 52427dd183
commit e78716b0fa

View File

@@ -207,9 +207,11 @@ function dispatch (action, ...args) {
}
if (action === 'toggleFullScreen') {
electron.ipcRenderer.send('toggleFullScreen')
update()
}
if (action === 'videoMouseMoved') {
state.video.mouseStationarySince = new Date().getTime()
update()
}
}