diff --git a/src/Toolbar.tsx b/src/Toolbar.tsx index 4de45f6f8..eae042bae 100644 --- a/src/Toolbar.tsx +++ b/src/Toolbar.tsx @@ -11,10 +11,10 @@ import { SetAngleLength } from './components/Toolbar/setAngleLength' import { ConvertToVariable } from './components/Toolbar/ConvertVariable' import { SetAbsDistance } from './components/Toolbar/SetAbsDistance' import { SetAngleBetween } from './components/Toolbar/SetAngleBetween' -import { useEffect } from 'react' +import { Fragment, useEffect } from 'react' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faSearch, faX } from '@fortawesome/free-solid-svg-icons' -import { Popover } from '@headlessui/react' +import { Popover, Transition } from '@headlessui/react' import styles from './Toolbar.module.css' export const Toolbar = () => { @@ -201,22 +201,42 @@ export const Toolbar = () => { - - - - - You're in {guiMode.mode === 'sketch' ? '2D' : '3D'} - - - - - - - - - + + + + + + + + You're in {guiMode.mode === 'sketch' ? '2D' : '3D'} + + + + + + + + + + ) }
- You're in {guiMode.mode === 'sketch' ? '2D' : '3D'} -
+ You're in {guiMode.mode === 'sketch' ? '2D' : '3D'} +