From ecfd4f05bd32c3942580a5b01f021b2acdff4b54 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Sun, 18 Jul 2021 00:29:01 +0200 Subject: fixed not being able to save tweaks + formatting --- app/components/tweaks/tweaks.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/components/tweaks') diff --git a/app/components/tweaks/tweaks.tsx b/app/components/tweaks/tweaks.tsx index a67b723..d2b5bd1 100644 --- a/app/components/tweaks/tweaks.tsx +++ b/app/components/tweaks/tweaks.tsx @@ -44,7 +44,7 @@ export const Tweaks = observer(function Tweaks(props: TweaksProps): JSX.Element { setPhysics({ ...physics, gravityOn: !physics.gravityOn })}} + onValueChange={() => { setPhysics({ ...physics, gravityOn: !physics.gravityOn }) }} /> { setPhysics({ ...physics, colorful: !physics.colorful })}} + onValueChange={() => { setPhysics({ ...physics, colorful: !physics.colorful }) }} /> { setPhysics({ ...physics, hover: !physics.hover })}} + onValueChange={() => { setPhysics({ ...physics, hover: !physics.hover }) }} />