Fix scrub button position

This commit is contained in:
DC
2016-05-24 02:09:17 -07:00
parent c76abeb8c0
commit 918a35e091
2 changed files with 3 additions and 2 deletions

View File

@@ -298,7 +298,7 @@ function renderSubtitlesOptions (state) {
function renderPlayerControls (state) {
var positionPercent = 100 * state.playing.currentTime / state.playing.duration
var playbackCursorStyle = { left: 'calc(' + positionPercent + '% - 8px)' }
var playbackCursorStyle = { left: 'calc(' + positionPercent + '% - 3px)' }
var captionsClass = state.playing.subtitles.tracks.length === 0
? 'disabled'
: state.playing.subtitles.selectedIndex >= 0