MCPcopy Create free account
hub / github.com/HairlessVillager/minecommit / rx

Function rx

minecommit-gui/src/components/commit-graph.tsx:199–201  ·  view source on GitHub ↗
(rail: number)

Source from the content-addressed store, hash-verified

197 const cy = h / 2
198
199 function rx(rail: number) {
200 return rail * railWidth + railWidth / 2
201 }
202
203 const commitX = rx(row.rail)
204

Callers 1

RailsSVGFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected