From e6c03c7896a64b75ccc913f6331018cfcc30c974 Mon Sep 17 00:00:00 2001 From: Marco Garay Date: Tue, 18 Feb 2020 14:29:55 -0600 Subject: [PATCH] fix: current time tooltip does not update (#6445) --- src/js/control-bar/progress-control/seek-bar.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/js/control-bar/progress-control/seek-bar.js b/src/js/control-bar/progress-control/seek-bar.js index 5dc17ae78d..c7c8b24dd2 100644 --- a/src/js/control-bar/progress-control/seek-bar.js +++ b/src/js/control-bar/progress-control/seek-bar.js @@ -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;