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} />