From b171f82e940a9df506147ff035cc5a32e6aa9920 Mon Sep 17 00:00:00 2001 From: Shefali Date: Thu, 6 Mar 2025 16:35:48 -0800 Subject: [PATCH] Ensure now marker shows up correctly even when there are no plots to send tick updates --- src/ui/components/TimeSystemAxis.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/components/TimeSystemAxis.vue b/src/ui/components/TimeSystemAxis.vue index 03fa79037e..f2492295e4 100644 --- a/src/ui/components/TimeSystemAxis.vue +++ b/src/ui/components/TimeSystemAxis.vue @@ -81,6 +81,7 @@ export default { const svgHeight = ref(0); const axisTransform = ref(`translate(0,${TIME_AXIS_LINE_Y})`); const alignmentOffset = ref(0); + const leftAlignmentOffset = ref(0); const alignmentStyle = ref({ margin: `0 0 0 0` }); const nowMarkerStyle = reactive({ height: '0px', @@ -104,6 +105,7 @@ export default { svgHeight, axisTransform, alignmentOffset, + leftAlignmentOffset, alignmentStyle, nowMarkerStyle, openmct