summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-22 17:42:04 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-22 17:42:04 +0200
commit95764afa6539cd7c4ccf6058ce15832d59855cf2 (patch)
tree3491801fb5f4a535e27b5f11727469f3b783349d
parent1a744165f6056697b4be72695c37fe3f836e1b08 (diff)
added directional particles toggle
-rw-r--r--pages/index.tsx3
1 files changed, 1 insertions, 2 deletions
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"