fix: format + ignore samples

This commit is contained in:
Felix Roos 2024-10-19 01:05:23 +02:00
parent e3a3c0c5f9
commit a46bbeaa10
2 changed files with 2 additions and 1 deletions

View file

@ -37,7 +37,7 @@ export function MiniRepl({
const shouldShowCanvas = !!punchcard;
const canvasId = shouldShowCanvas ? useMemo(() => `canvas-${id}`, [id]) : null;
autodraw = !!punchcard || !!claviature || !!autodraw;
drawTime = drawTime ?? punchcard ? [0, 4] : [-2, 2];
drawTime = (drawTime ?? punchcard) ? [0, 4] : [-2, 2];
if (claviature) {
drawTime = [0, 0];
}