diff --git a/src/components/Roof2.jsx b/src/components/Roof2.jsx index 1aa80094..1f81ee41 100644 --- a/src/components/Roof2.jsx +++ b/src/components/Roof2.jsx @@ -37,6 +37,8 @@ export default function Roof2() { const [angle, setAngle] = useState(0) + const [showControl, setShowControl] = useState(false) + const { mode, changeMode, @@ -47,6 +49,7 @@ export default function Roof2() { zoom, togglePolygonLine, handleOuterlinesTest2, + applyTemplateB, } = useMode() useEffect(() => { @@ -239,6 +242,10 @@ export default function Roof2() { const lines = togglePolygonLine(polygon) } + const handleShowController = () => { + setShowControl(!showControl) + } + return ( <> {canvas && ( @@ -282,7 +289,7 @@ export default function Roof2() { @@ -356,8 +363,21 @@ export default function Roof2() { + -