Ensure now marker shows up correctly even when there are no plots to send tick updates

This commit is contained in:
Shefali 2025-03-06 16:35:48 -08:00
parent 88b43314d9
commit b171f82e94

View File

@ -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