From 08124aa84fdbc48b1579c37e75cb7bc69c1feff8 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Sun, 18 Jul 2021 01:42:47 +0200 Subject: first steps towards expand mode --- app/components/tweaks/tweaks.tsx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/components/tweaks') diff --git a/app/components/tweaks/tweaks.tsx b/app/components/tweaks/tweaks.tsx index d2b5bd1..49754d0 100644 --- a/app/components/tweaks/tweaks.tsx +++ b/app/components/tweaks/tweaks.tsx @@ -181,6 +181,13 @@ export const Tweaks = observer(function Tweaks(props: TweaksProps): JSX.Element value={physics.collapse} onValueChange={() => { setPhysics({ ...physics, collapse: !physics.collapse }) }} /> + + { setPhysics({ ...physics, rootId: value }) }} + value={physics.rootId} + step={1} />