From 930793cfb95262714ca3642dbbbd7ba0b30eb22e Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <thomasfkjorna@gmail.com>
Date: Sat, 17 Jul 2021 23:24:43 +0200
Subject: added galaxy mode for 3d

---
 app/components/tweaks/tweaks.tsx | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'app/components/tweaks/tweaks.tsx')

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>,
         },
         {
-- 
cgit v1.2.3

