diff --git a/editor/src/components/canvas/controls/grid-controls.tsx b/editor/src/components/canvas/controls/grid-controls.tsx index 694719ff77cd..ee322993a3da 100644 --- a/editor/src/components/canvas/controls/grid-controls.tsx +++ b/editor/src/components/canvas/controls/grid-controls.tsx @@ -2455,6 +2455,8 @@ const RulerMarkers = React.memo((props: RulerMarkersProps) => { return null } + const frozenOrRegularMarkerData = frozenMarkers ?? rulerMarkerData + return ( { rulerVisible={showExtraMarkers === 'column' ? 'visible' : 'not-visible'} > {/* Other markers for unselected tracks */} - {rulerMarkerData.otherColumnMarkers.map((marker, index) => { + {frozenOrRegularMarkerData.otherColumnMarkers.map((marker, index) => { return ( { { { rulerVisible={showExtraMarkers === 'row' ? 'visible' : 'not-visible'} > {/* Other markers for unselected tracks */} - {rulerMarkerData.otherRowMarkers.map((marker, index) => { + {frozenOrRegularMarkerData.otherRowMarkers.map((marker, index) => { return ( { {