summaryrefslogtreecommitdiff
path: root/app/components/tweaks/tweaks.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-18 18:29:58 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-18 18:29:58 +0200
commit5936723f2ebfff4561851866ee161aaa86d989bd (patch)
treefc50b520af3700ed96040ec1b293db24856e116b /app/components/tweaks/tweaks.tsx
parentc00d50b8c955c38360b5deeb451ebd756b40dd59 (diff)
localgraph working, also prettier
Diffstat (limited to 'app/components/tweaks/tweaks.tsx')
-rw-r--r--app/components/tweaks/tweaks.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/components/tweaks/tweaks.tsx b/app/components/tweaks/tweaks.tsx
index 49754d0..e52e587 100644
--- a/app/components/tweaks/tweaks.tsx
+++ b/app/components/tweaks/tweaks.tsx
@@ -193,6 +193,10 @@ export const Tweaks = observer(function Tweaks(props: TweaksProps): JSX.Element
value={physics.threedim}
onValueChange={() => { setPhysics({ ...physics, threedim: !physics.threedim }) }}
/>
+ <Switch style={{ width: "5", height: 20, marginVertical: 10 }}
+ value={physics.local}
+ onValueChange={() => { setPhysics({ ...physics, local: !physics.local }) }}
+ />
</View>
},
];