diff --git a/src/ui/components/TimeSystemAxis.vue b/src/ui/components/TimeSystemAxis.vue index d580b884e6..50943e3281 100644 --- a/src/ui/components/TimeSystemAxis.vue +++ b/src/ui/components/TimeSystemAxis.vue @@ -101,7 +101,8 @@ export default { if (nowMarker) { nowMarker.classList.remove('hidden'); nowMarker.style.height = this.contentHeight + 'px'; - const now = this.xScale(Date.now()); + const nowTimeStamp = this.openmct.time.clock().currentValue(); + const now = this.xScale(nowTimeStamp); nowMarker.style.left = now + this.offset + 'px'; } }