Hide player controls when mouse is still, even when not fullscreened (fix #37)

This commit is contained in:
Feross Aboukhadijeh
2016-03-05 19:24:42 -08:00
parent 1b269189b7
commit 52427dd183
2 changed files with 8 additions and 9 deletions

View File

@@ -208,7 +208,7 @@ function dispatch (action, ...args) {
if (action === 'toggleFullScreen') {
electron.ipcRenderer.send('toggleFullScreen')
}
if (action === 'fullscreenVideoMouseMoved') {
if (action === 'videoMouseMoved') {
state.video.mouseStationarySince = new Date().getTime()
}
}