From d6022276798fa69c30139cd9e93c5c1f37e0397c Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Mon, 19 Jul 2021 02:46:25 +0200 Subject: seperate 3d and local from physics --- app/components/tweaks/tweaks.tsx | 63 ++++------------------------------------ 1 file changed, 5 insertions(+), 58 deletions(-) (limited to 'app/components/tweaks/tweaks.tsx') diff --git a/app/components/tweaks/tweaks.tsx b/app/components/tweaks/tweaks.tsx index 08a5e2a..d6f4d8c 100644 --- a/app/components/tweaks/tweaks.tsx +++ b/app/components/tweaks/tweaks.tsx @@ -328,58 +328,6 @@ export const Tweaks = observer(function Tweaks(props: TweaksProps): JSX.Element title: "Modes", content: ( - - { - setPhysics({ ...physics, collapse: !physics.collapse }) - }} - /> - - { - setPhysics({ ...physics, rootId: value }) - }} - value={physics.rootId} - step={1} - /> - - { - setPhysics({ ...physics, threedim: !physics.threedim }) - }} - /> - { - setPhysics({ ...physics, local: !physics.local }) - }} - /> ), }, @@ -587,19 +535,18 @@ export const Tweaks = observer(function Tweaks(props: TweaksProps): JSX.Element const styles = StyleSheet.create({ container: { - //flex: 1, + display: "flex", backgroundColor: "#2a2e38", - position: "relative", + position: "absolute", zIndex: 5, - marginLeft: "3%", - marginTop: "3%", + marginLeft: "2%", + marginTop: "2%", maxWidth: 275, borderRadius: 10, borderStyle: "solid", borderWidth: 10, borderColor: "#2a2e38", - height: "25%", - maxHeight: "80%", + maxHeight: "80%", paddingBottom: 20, }, title: { -- cgit v1.2.3