diff --git a/packages/studio/src/components/editor/propertyPanelFxNodeRow.tsx b/packages/studio/src/components/editor/propertyPanelFxNodeRow.tsx index 3c032a4bd9..b7d7e7515b 100644 --- a/packages/studio/src/components/editor/propertyPanelFxNodeRow.tsx +++ b/packages/studio/src/components/editor/propertyPanelFxNodeRow.tsx @@ -73,6 +73,8 @@ function plainDef(def: HfAudioFxDef): HfAudioFxDef { interface FxNodeRowProps { node: HfAudioFxNode; index: number; + /** Where it sits in the signal path, as the rack counts it. Absent means unnumbered. */ + position?: number; automatedTargets?: ReadonlySet; liveAutomationValues?: ReadonlyMap; onAutomateParam?(nodeId: string, paramKey: string): void; @@ -117,6 +119,7 @@ function FxMoveButton({ function FxNodeHeader({ label, family, + position, open, bypassed, first, @@ -130,6 +133,7 @@ function FxNodeHeader({ label: string; /** How this family letters, so the KIND reads before the word does. */ family: string; + position?: number; open: boolean; bypassed: boolean; first: boolean; @@ -142,6 +146,14 @@ function FxNodeHeader({ }) { return (
+ {/* Two digits, because a rack reads as a path when its steps are numbered + and as a list when they are not — and the difference decides whether an + author thinks the order matters. It does; it is audible. */} + {position !== undefined ? ( + + {String(position).padStart(2, "0")} + + ) : null}