From 95764afa6539cd7c4ccf6058ce15832d59855cf2 Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <thomasfkjorna@gmail.com>
Date: Thu, 22 Jul 2021 17:42:04 +0200
Subject: added directional particles toggle

---
 pages/index.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'pages/index.tsx')

diff --git a/pages/index.tsx b/pages/index.tsx
index 1630835..469d985 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -277,7 +277,6 @@ export interface TweakProps {
 }
 export const Tweaks = function (props: TweakProps) {
   const { physics, setPhysics, threeDim } = props
-
   return (
     <Box
       zIndex="overlay"
@@ -440,7 +439,7 @@ export const Tweaks = function (props: TweakProps) {
               <EnableSection
                 label="Directional Particles"
                 value={physics.particles ? true : false}
-                onChange={() => setPhysics({ ...physics, labels: physics.particles ? 0 : 1 })}
+                onChange={() => setPhysics({ ...physics, particles: physics.particles ? 0 : 1 })}
               >
                 <SliderWithInfo
                   label="Particle Number"
-- 
cgit v1.2.3

