Fix the seek tooltip time difference from seek time

This commit is contained in:
Albin Larsson
2018-05-12 00:02:05 +02:00
parent 765c01e83d
commit f2fc3f5ea5
2 changed files with 6 additions and 1 deletions

2
src/js/controls.js vendored
View File

@ -443,7 +443,7 @@ const controls = {
// Calculate percentage
let percent = 0;
const clientRect = this.elements.inputs.seek.getBoundingClientRect();
const clientRect = this.elements.progress.getBoundingClientRect();
const visible = `${this.config.classNames.tooltip}--visible`;
const toggle = toggle => {