From 5c874e3f8a2acc03a8a75ac12bb16682775cdf17 Mon Sep 17 00:00:00 2001 From: Misode Date: Wed, 27 Nov 2024 21:51:00 +0100 Subject: [PATCH] Fix #618 typo in customized ore editor --- src/app/components/customized/CustomizedOre.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/customized/CustomizedOre.tsx b/src/app/components/customized/CustomizedOre.tsx index 9d1b580c..7b1b7ba0 100644 --- a/src/app/components/customized/CustomizedOre.tsx +++ b/src/app/components/customized/CustomizedOre.tsx @@ -26,7 +26,7 @@ export function CustomizedOre({ model, value, initial, onChange }: Props) { value={calcHeight(model, value.minAboveBottom, value.minBelowTop, value.minHeight) ?? 0} onChange={v => changeOre(value.minAboveBottom !== undefined ? { minAboveBottom: v - model.minHeight } : value.minBelowTop != undefined ? { minBelowTop: model.maxHeight - v } : { minHeight: v })} min={-64} max={320} initial={calcHeight(model, initial.minAboveBottom, initial.minBelowTop, initial.minHeight) ?? 0} /> - changeOre(value.maxAboveBottom !== undefined ? { maxAboveBottom: v - model.minHeight } : value.maxBelowTop != undefined ? { maxBelowTop: model.maxHeight - v } : { maxHeight: v })} min={-64} max={320} initial={calcHeight(model, initial.maxAboveBottom, initial.maxBelowTop, initial.maxHeight) ?? 0} />