diff --git a/src/js/control-bar/progress-control/time-tooltip.js b/src/js/control-bar/progress-control/time-tooltip.js index 0ba497ebb..ede9bb4d7 100644 --- a/src/js/control-bar/progress-control/time-tooltip.js +++ b/src/js/control-bar/progress-control/time-tooltip.js @@ -96,6 +96,12 @@ class TimeTooltip extends Component { pullTooltipBy = tooltipRect.width; } + // prevent small width fluctuations within 0.4px from + // changing the value below. + // This really helps for live to prevent the play + // progress time tooltip from jittering + pullTooltipBy = Math.round(pullTooltipBy); + this.el_.style.right = `-${pullTooltipBy}px`; this.write(content); }