From ab737f68511cb48bf6ba7c2e7c01286473c0f71e Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <thomasfkjorna@gmail.com>
Date: Sat, 31 Jul 2021 02:42:27 +0200
Subject: even saner defaults

---
 components/tweaks.tsx | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'components/tweaks.tsx')

diff --git a/components/tweaks.tsx b/components/tweaks.tsx
index 394c005..b2b0aaf 100644
--- a/components/tweaks.tsx
+++ b/components/tweaks.tsx
@@ -145,7 +145,12 @@ export const Tweaks = (props: TweakProps) => {
                 <IconButton
                   aria-label="Reset Defaults"
                   icon={<RepeatClockIcon />}
-                  onClick={() => setPhysics(initialPhysics)}
+                  onClick={() => {
+                    setVisuals(initialVisuals)
+                    setFilter(initialFilter)
+                    setMouse(initialMouse)
+                    setPhysics(initialPhysics)
+                  }}
                   variant="none"
                   size="sm"
                 />
-- 
cgit v1.2.3

