${sms.length === 1
? `
${diagrams[0]}`
@@ -139,7 +139,7 @@ function renderStateErrorStepper({ index, count }: StateErrorNavigation): string
`;
}
-// explains the state marks with the same outlines, fills, and icons as the diagram, next to the toggle that dims the rest
+// explains the state marks with the same outlines, fills, and icons as the diagram, next to the toggle that collapses the rest
function renderStateErrorLegend(focuses: StateErrorFocus[], focusOnError: boolean): string {
const items = [
focuses.some(focus => focus.invalidStates.length > 0) ? renderLegendItem('invalid', `${INVALID_STATE_ICON} Actual state, not expected`) : '',