This commit is contained in:
IDONTSUDO 2024-07-25 12:00:03 +03:00
parent 6003cfde04
commit 6e6a1c0c1d

View file

@ -16,12 +16,12 @@ export const SolidBodyForm = observer((props: IDefaultSceneManagerFormProps) =>
}, []); }, []);
return ( return (
<div style={{ display: "flex", flexDirection: "column", alignItems: "center" }}> <div style={{ display: "flex", flexDirection: "column", alignItems: "center", overflowX: "auto", height: "100%" }}>
<> <>
{match(store.solidBodyStoreType) {match(store.solidBodyStoreType)
.with(SolidBodyStoreType.previewSolid, () => ( .with(SolidBodyStoreType.previewSolid, () => (
<> <>
<CoreText text={"Твердое тело"} type={CoreTextType.header} /> <CoreText text={"Твердое тело"} type={CoreTextType.header} />
<CoordsForm store={store} update={store.updateBodySimulation} /> <CoordsForm store={store} update={store.updateBodySimulation} />
<CoreText text={"Тип твердого тела: " + store.viewModel.solidType} type={CoreTextType.header} /> <CoreText text={"Тип твердого тела: " + store.viewModel.solidType} type={CoreTextType.header} />
</> </>