@arraypress/waveform-player 1.19.1 → 1.19.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1871,10 +1871,12 @@ var WaveformPlayer = class _WaveformPlayer {
1871
1871
  this.progress = clamp((clientX - rect.left) / rect.width);
1872
1872
  this.drawWaveform();
1873
1873
  this._updateSeekHandle();
1874
- this._updateHoverTip(clientX);
1875
1874
  const dur = this.getSeekDuration();
1876
1875
  if (dur && this.currentTimeEl) {
1877
1876
  this.currentTimeEl.textContent = formatTime(this.progress * dur);
1877
+ this._hideHoverTip();
1878
+ } else {
1879
+ this._updateHoverTip(clientX);
1878
1880
  }
1879
1881
  }
1880
1882
  /**