diff --git a/src/components/controls/controls.tsx b/src/components/controls/controls.tsx index 3071869f1..8facaef8e 100644 --- a/src/components/controls/controls.tsx +++ b/src/components/controls/controls.tsx @@ -35,14 +35,19 @@ function Controls() { const panelsToDisplay = useSelector((state: RootState) => state.controls.panelsToDisplay); const showTreeToo = useSelector((state: RootState) => state.controls.showTreeToo); const canTogglePanelLayout = useSelector((state: RootState) => state.controls.canTogglePanelLayout); + const branchLengthsToDisplay = useSelector((state: RootState) => state.controls.branchLengthsToDisplay); return ( - - - + {branchLengthsToDisplay !== 'divOnly' && + <> + + + + + } @@ -110,10 +115,12 @@ function Controls() { /> } - - - - + {branchLengthsToDisplay !== "divOnly" && + + + + + } {canTogglePanelLayout && <>