minuteToX()
function minuteToX(panels, minute): number;Defined in: packages/core/src/momentum/layout.ts:124
The x of a match minute: in the panel that holds it, or the nearest panel (clamped to its edge) for a minute that falls in a gap or outside every period. 0 when there are no panels.
Parameters
| Parameter | Type |
|---|---|
panels | readonly MomentumPanel[] |
minute | number |
Returns
number