From 6f4fdd00daca263a12f6597d1f2daf6afacfb342 Mon Sep 17 00:00:00 2001 From: Misode Date: Tue, 4 Jul 2023 00:45:15 +0200 Subject: [PATCH] Fix #398 customized typo --- src/app/components/customized/BasicSettings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/customized/BasicSettings.tsx b/src/app/components/customized/BasicSettings.tsx index 3c3cd717..6452885b 100644 --- a/src/app/components/customized/BasicSettings.tsx +++ b/src/app/components/customized/BasicSettings.tsx @@ -17,7 +17,7 @@ export function BasicSettings({ model, initialModel, changeModel }: Props) { value={model.minHeight} onChange={v => changeModel({ minHeight: v })} min={-128} max={384} step={16} initial={initialModel.minHeight} error={model.minHeight % 16 !== 0 ? 'Min height needs to be a multiple of 16' : undefined} /> - changeModel({ maxHeight: v })} min={-128} max={384} step={16} initial={initialModel.maxHeight} error={model.maxHeight <= model.minHeight ? 'Max height needs to be larger than Min height' : model.maxHeight % 16 !== 0 ? 'Max height needs to be a multiple of 16' : undefined} />