From becbc14293c38e131c8ce579ef459783b988a9f5 Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <thomasfkjorna@gmail.com>
Date: Sat, 31 Jul 2021 00:35:29 +0200
Subject: removed ! which made orphans fail

---
 components/tweaks.tsx | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

(limited to 'components/tweaks.tsx')

diff --git a/components/tweaks.tsx b/components/tweaks.tsx
index 393a0fe..e7653df 100644
--- a/components/tweaks.tsx
+++ b/components/tweaks.tsx
@@ -1072,31 +1072,24 @@ export const Tweaks = (props: TweakProps) => {
                             <SliderWithInfo
                               label="Animation speed"
                               onChange={(v) => setVisuals({ ...visuals, animationSpeed: v })}
-                              value={physics.animationSpeed}
+                              value={visuals.animationSpeed}
                               infoText="Slower speed has a chance of being buggy"
                               min={50}
                               max={1000}
                               step={10}
                             />
                             <Select
-                              placeholder={physics.algorithmName}
+                              placeholder={visuals.algorithmName}
                               onChange={(v) => {
                                 setVisuals({ ...visuals, algorithmName: v.target.value })
                               }}
                             >
-                              {physics.algorithmOptions.map((opt: string) => (
+                              {visuals.algorithmOptions.map((opt: string) => (
                                 <option key={opt} value={opt}>
                                   {opt}
                                 </option>
                               ))}
                             </Select>
-                            {/* <DropDownMenu
-                    displayValue={physics.algorithmName}
-                    textArray={physics.algorithmOptions}
-                    onClickArray={physics.algorithmOptions.map((option) =>
-                      setVisuals({ ...visuals, algorithmName: { option } }),
-                    )}
-                  /> */}
                           </EnableSection>
                         </VStack>
                       </EnableSection>
-- 
cgit v1.2.3

