Merge v0.9.0 (#730)

v0.9.0
This commit is contained in:
DC
2016-07-21 15:52:54 -07:00
committed by GitHub
5 changed files with 20 additions and 3 deletions

View File

@@ -524,6 +524,7 @@ function renderPlayerControls (state) {
// Handles a click or drag to scrub (jump to another position in the video)
function handleScrub (e) {
if (!e.clientX) return
dispatch('mediaMouseMoved')
var windowWidth = document.querySelector('body').clientWidth
var fraction = e.clientX / windowWidth