summaryrefslogtreecommitdiff
path: root/components/tweaks.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-31 02:42:27 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-31 02:42:27 +0200
commitab737f68511cb48bf6ba7c2e7c01286473c0f71e (patch)
tree90a16eeec996db3ce826a94e79fef4ccd672ba0a /components/tweaks.tsx
parent802f8929993713865eadfc3348bd386c2984689e (diff)
even saner defaults
Diffstat (limited to 'components/tweaks.tsx')
-rw-r--r--components/tweaks.tsx7
1 files changed, 6 insertions, 1 deletions
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"
/>