Skip to content

Commit

Permalink
fix: current time tooltip does not update (#6445)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosmx committed Feb 18, 2020
1 parent e4e8837 commit e6c03c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/js/control-bar/progress-control/seek-bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ class SeekBar extends Slider {
this.currentTime_ = currentTime;
this.duration_ = duration;
}

// update the progress bar time tooltip with the current time
if (this.bar) {
this.bar.update(Dom.getBoundingClientRect(this.el()), this.getProgress());
}
});

return percent;
Expand Down

0 comments on commit e6c03c7

Please sign in to comment.