feat: add limiter

This commit is contained in:
2026-08-06 16:15:46 +02:00
parent 56f7aca174
commit e802067056
7 changed files with 506 additions and 2 deletions
@@ -170,9 +170,9 @@ export const LinearGraph = forwardRef<LinearGraphHandle, LinearGraphProps>(funct
ctx.clearRect(0, 0, cssW, cssH);
const plot = {
x: pad.left,
x: pad.left + cq.w * 2,
y: pad.top,
width: Math.max(1, cssW - pad.left - pad.right),
width: Math.max(1, cssW - pad.left - pad.right - cq.w * 2),
height: Math.max(1, cssH - pad.top - pad.bottom),
};