From fa93891574dd5a0314a4092cf02641ecd6b73af9 Mon Sep 17 00:00:00 2001 From: Chris Morris Date: Mon, 7 Mar 2016 22:13:56 +1100 Subject: [PATCH] Prevent playback controls from hiding while the user is scrubbing Fixes #64 --- renderer/views/player.js | 1 + 1 file changed, 1 insertion(+) diff --git a/renderer/views/player.js b/renderer/views/player.js index bb16d8f4..189b91b7 100644 --- a/renderer/views/player.js +++ b/renderer/views/player.js @@ -117,6 +117,7 @@ function renderPlayerControls (state, dispatch) { // Handles a click or drag to scrub (jump to another position in the video) function handleScrub (e) { + dispatch('videoMouseMoved') var windowWidth = document.querySelector('body').clientWidth var fraction = e.clientX / windowWidth var position = fraction * state.video.duration /* seconds */