summaryrefslogtreecommitdiff
path: root/app/components/tweaks/tweaks.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-18 19:37:03 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-18 19:37:03 +0200
commit86b2cf2696ecf3171c9ef05734c940ffbc750537 (patch)
tree8d70d4cd6e1b1bebaaa6b728df27ce85daae147f /app/components/tweaks/tweaks.tsx
parenta38f0d5f69f5583732b5a844f472718160d07334 (diff)
exiting and entering local mode works well
Diffstat (limited to 'app/components/tweaks/tweaks.tsx')
-rw-r--r--app/components/tweaks/tweaks.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/components/tweaks/tweaks.tsx b/app/components/tweaks/tweaks.tsx
index e52e587..9e23afb 100644
--- a/app/components/tweaks/tweaks.tsx
+++ b/app/components/tweaks/tweaks.tsx
@@ -62,11 +62,11 @@ export const Tweaks = observer(function Tweaks(props: TweaksProps): JSX.Element
step={1} />
<Text preset="fieldLabel" text={"Link Force: " + physics.linkStrength} />
<Slider style={{ height: 40, width: "90%" }}
- minimumValue={-2}
+ minimumValue={0}
maximumValue={2}
onValueChange={(value) => { setPhysics({ ...physics, linkStrength: value }) }}
value={physics.linkStrength}
- step={0.1}
+ step={0.01}
/>
<Text preset="fieldLabel" text={"'Link Iterations': " + physics.linkIts} />
<Slider style={{ height: 40, width: "90%" }}