Initial font work

This commit is contained in:
2026-05-05 23:18:50 +10:00
parent fd0ebb8d40
commit 3e8b472f74
20 changed files with 873 additions and 84 deletions

View File

@@ -273,5 +273,22 @@ export function ParameterField({ layer, parameter, onParameterChange }) {
);
}
if (parameter.type === "text") {
return (
<section className="parameter">
{header}
<input
type="text"
maxLength={parameter.maxLength ?? 64}
value={draftValue ?? ""}
onFocus={beginInteraction}
onChange={(event) => sendValue(event.target.value)}
onBlur={endInteraction}
/>
<ParameterValueDisplay parameterType={parameter.type} value={appliedValue} pending={isPending} />
</section>
);
}
return null;
}