summaryrefslogtreecommitdiff
path: root/app/components/tweaks/tweaks.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-17 23:24:43 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-17 23:24:43 +0200
commit930793cfb95262714ca3642dbbbd7ba0b30eb22e (patch)
tree34ce6e70b8e2831beedde57a5c1504ec05e303a1 /app/components/tweaks/tweaks.tsx
parent447e836e0cef64f2285b0fa7facb7dfdbe504d8c (diff)
added galaxy mode for 3d
Diffstat (limited to 'app/components/tweaks/tweaks.tsx')
-rw-r--r--app/components/tweaks/tweaks.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/components/tweaks/tweaks.tsx b/app/components/tweaks/tweaks.tsx
index 8913e98..a67b723 100644
--- a/app/components/tweaks/tweaks.tsx
+++ b/app/components/tweaks/tweaks.tsx
@@ -102,6 +102,11 @@ export const Tweaks = observer(function Tweaks(props: TweaksProps): JSX.Element
onValueChange={(value) => { setPhysics({ ...physics, velocityDecay: value }) }}
value={physics.velocityDecay}
step={0.01} />
+ <Text preset="fieldLabel" text={"Galaxy Mode (3D-only)"} />
+ <Switch style={{ width: "5", height: 20, marginVertical: 10 }}
+ value={physics.galaxy}
+ onValueChange={() => { setPhysics({ ...physics, galaxy: !physics.galaxy }) }}
+ />
</View>,
},
{